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 LicenseOrigin {
    /// A license was provided with the product.
    BuiltIn,
    /// A license installed by user.
    Installed,
}

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

impl crate::Metadata<'static> for LicenseOrigin {
    const JSON_SCHEMA: &'static str = "License.v1_1_1.json";
}