redfish-codegen 0.3.1

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


/// The Virtual Channel Action Table entry corresponding to a specific Virtual Channel.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct VCATableEntry {
    /// The configured threshold.
    #[serde(rename = "Threshold")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub threshold: Option<String>,
    /// The bits corresponding to the supported Virtual Channel.
    #[serde(rename = "VCMask")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub vc_mask: Option<String>,
}

impl crate::Metadata<'static> for VCATableEntry {
    const JSON_SCHEMA: &'static str = "VCATEntry.v1_0_1.json";
}