redfish-codegen 0.3.1

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

use crate::models;

/// The ANA characteristics and volume information for a storage controller.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct ANACharacteristics {
    #[serde(rename = "AccessState")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub access_state: Option<models::storage_controller::v1_6_0::ANAAccessState>,
    #[serde(rename = "Volume")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub volume: Option<models::odata_v4::IdRef>,
}

impl crate::Metadata<'static> for ANACharacteristics {
    const JSON_SCHEMA: &'static str = "StorageController.v1_6_0.json";
}