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 services that might be running or installed on the system.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct HostedServices {
    #[serde(rename = "Oem")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub oem: Option<models::resource::Oem>,
    #[serde(rename = "StorageServices")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub storage_services: Option<models::odata_v4::IdRef>,
}

impl crate::Metadata<'static> for HostedServices {
    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
}