fn parse_local_deployments(status: &StatusJson, omit_staged: bool) -> BTreeSet<Release> {
    let mut deployments = BTreeSet::<Release>::new();
    for entry in &status.deployments {
        if omit_staged && entry.staged {
            continue;
        }

        let release = entry.clone().into_release();
        deployments.insert(release);
    }
    deployments
}
/// Parse local deployments from a status object.
Parse local deployments from a status object.
Parse local deployments from a status object .
fn parse_local_deployments(status: &StatusJson, omit_staged: bool) -> BTreeSet<Release> {
    let mut deployments = BTreeSet::<Release>::new();
    for entry in &status.deployments {
        if omit_staged && entry.staged {
            continue;
        }
        let release = entry.clone().into_release();
        deployments.insert(release);
    }
    deployments
}
fn parse_local_deployments ( status : & StatusJson , omit_staged : bool ) -> BTreeSet < Release > { let mut deployments = BTreeSet :: < Release > :: new ( ) ; for entry in & status . deployments { if omit_staged && entry . staged { continue ; } let release = entry . clone ( ) . into_release ( ) ; deployments . insert ( release ) ; } deployments }
Parse local deployments from a status object.
Parse local deployments from a status object .
status
&StatusJson
omit_staged
bool