// Update the unique hash of the function hash
Update the unique hash of the function hash
Update the unique hash of the function hash
fn update_hash(&mut self, conn: &Connection) {
        let mut hasher = DefaultHasher::new();
        self.name.hash(&mut hasher);
        if let Some(ref parent_mod) = self.parent {
            parent_mod.load(conn).unwrap().pk().hash(&mut hasher);
        }
        self.hash = hasher.finish().to_string();
    }
fn update_hash ( & mut self , conn : & Connection ) { let mut hasher = DefaultHasher :: new ( ) ; self . name . hash ( & mut hasher ) ; if let Some ( ref parent_mod ) = self . parent { parent_mod . load ( conn ) . unwrap ( ) . pk ( ) . hash ( & mut hasher ) ; } self . hash = hasher . finish ( ) . to_string ( ) ; }
Update the unique hash of the function hash
Update the unique hash of the function hash
&mut self
conn
&Connection