fn _resolve_phenotype(
    manifest: &SafManifest,
    payload_uid: Option<&Uid>,
    payload_properties: Option<&YamlProperties>,
) -> (Option<Uid>, Option<YamlProperties>) {
    let bundle_uid = manifest.uid();
    let bundle_properties = manifest.properties();
    let properties = if payload_properties.is_some() {
        payload_properties.cloned()
    } else {
        bundle_properties
    };
    let uid = if payload_uid.is_some() {
        payload_uid.cloned()
    } else {
        bundle_uid
    };
    (uid, properties)
}
/// Return the proper phenotype for a Saf, given a manifest and some optional
/// overrides
Return the proper phenotype for a Saf, given a manifest and some optional
overrides
Return the proper phenotype for a Saf given a manifest and some optional overrides
fn _resolve_phenotype(
    manifest: &SafManifest,
    payload_uid: Option<&Uid>,
    payload_properties: Option<&YamlProperties>,
) -> (Option<Uid>, Option<YamlProperties>) {
    let bundle_uid = manifest.uid();
    let bundle_properties = manifest.properties();
    let properties = if payload_properties.is_some() {
        payload_properties.cloned()
    } else {
        bundle_properties
    };
    let uid = if payload_uid.is_some() {
        payload_uid.cloned()
    } else {
        bundle_uid
    };
    (uid, properties)
}
fn _resolve_phenotype ( manifest : & SafManifest , payload_uid : Option < & Uid > , payload_properties : Option < & YamlProperties > , ) -> ( Option < Uid > , Option < YamlProperties > ) { let bundle_uid = manifest . uid ( ) ; let bundle_properties = manifest . properties ( ) ; let properties = if payload_properties . is_some ( ) { payload_properties . cloned ( ) } else { bundle_properties } ; let uid = if payload_uid . is_some ( ) { payload_uid . cloned ( ) } else { bundle_uid } ; ( uid , properties ) }
Return the proper phenotype for a Saf, given a manifest and some optional
overrides
Return the proper phenotype for a Saf given a manifest and some optional overrides
manifest
&SafManifest
payload_uid
Option<&Uid>
payload_properties
Option<&YamlProperties>
manifest
&SafManifest
payload_uid
Option<&Uid>
payload_properties
Option<&YamlProperties>