fn update_hash(&mut self, conn: &Connection) -> Result<()> {
        let mut hasher = DefaultHasher::new();
        self.name.hash(&mut hasher);
        if let Some(ref parent_mod) = self.parent_mod {
            parent_mod.load(conn)?.pk().hash(&mut hasher);
        }
        if let Some(ref parent_strunc) = self.parent_strunc {
            parent_strunc.load(conn)?.pk().hash(&mut hasher);
        }
        self.hash = hasher.finish().to_string();
        Ok(())
    }
// 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) -> Result<()> {
        let mut hasher = DefaultHasher::new();
        self.name.hash(&mut hasher);
        if let Some(ref parent_mod) = self.parent_mod {
            parent_mod.load(conn)?.pk().hash(&mut hasher);
        }
        if let Some(ref parent_strunc) = self.parent_strunc {
            parent_strunc.load(conn)?.pk().hash(&mut hasher);
        }
        self.hash = hasher.finish().to_string();
        Ok(())
    }
fn update_hash ( & mut self , conn : & Connection ) -> Result < ( ) > { let mut hasher = DefaultHasher :: new ( ) ; self . name . hash ( & mut hasher ) ; if let Some ( ref parent_mod ) = self . parent_mod { parent_mod . load ( conn ) ? . pk ( ) . hash ( & mut hasher ) ; } if let Some ( ref parent_strunc ) = self . parent_strunc { parent_strunc . load ( conn ) ? . pk ( ) . hash ( & mut hasher ) ; } self . hash = hasher . finish ( ) . to_string ( ) ; Ok ( ( ) ) }
Update the unique hash of the function hash
Update the unique hash of the function hash
&mut self
conn
&Connection
&mut self
conn
&Connection