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 AccessCapability {
    /// Endpoints are allowed to perform reads from the specified resource.
    Read,
    /// Endpoints are allowed to perform writes to the specified resource.
    Write,
}

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

impl crate::Metadata<'static> for AccessCapability {
    const JSON_SCHEMA: &'static str = "Connection.v1_1_0.json";
}