pub fn modify_phenotype(&self, uid: Uid, properties: YamlProperties) -> SafResult<Self> {
        let mut clone = self.clone();
        clone.saf = SafDefHashed::from_content_sync(
            clone.saf.modify_phenotype(uid, properties.try_into()?),
        );
        Ok(clone)
    }
/// Change the "phenotype" of this SAF -- the UID and properties -- while
/// leaving the "genotype" of actual SAF code intact
Change the "phenotype" of this SAF -- the UID and properties -- while
leaving the "genotype" of actual SAF code intact
Change the " phenotype " of this SAF -- the UID and properties -- while leaving the " genotype " of actual SAF code intact
pub fn modify_phenotype(&self, uid: Uid, properties: YamlProperties) -> SafResult<Self> {
        let mut clone = self.clone();
        clone.saf = SafDefHashed::from_content_sync(
            clone.saf.modify_phenotype(uid, properties.try_into()?),
        );
        Ok(clone)
    }
pub fn modify_phenotype ( & self , uid : Uid , properties : YamlProperties ) -> SafResult < Self > { let mut clone = self . clone ( ) ; clone . saf = SafDefHashed :: from_content_sync ( clone . saf . modify_phenotype ( uid , properties . try_into ( ) ? ) , ) ; Ok ( clone ) }
Change the "phenotype" of this SAF -- the UID and properties -- while
leaving the "genotype" of actual SAF code intact
Change the " phenotype " of this SAF -- the UID and properties -- while leaving the " genotype " of actual SAF code intact
&self
uid
Uid
properties
YamlProperties
&self
uid
Uid
properties
YamlProperties