redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.


#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum ExternalAccessibility {
    /// This value shall indicate that any external entity with the correct access details, which may include authorization information, can access the endpoints that this zone lists, regardless of zone.
    GloballyAccessible,
    /// This value shall indicate that any external entity that another zone does not explicitly list can access the endpoints that this zone lists.
    NonZonedAccessible,
    /// This value shall indicate that endpoints in this zone are only accessible by endpoints that this zone explicitly lists.
    ZoneOnly,
    /// This value shall indicate that implicit routing within this zone is not defined.
    NoInternalRouting,
}

#[allow(clippy::derivable_impls)]
impl Default for ExternalAccessibility {
     fn default() -> ExternalAccessibility {
        ExternalAccessibility::GloballyAccessible
     }
}

impl crate::Metadata<'static> for ExternalAccessibility {
    const JSON_SCHEMA: &'static str = "Zone.v1_6_1.json";
}