redfish-codegen 0.3.1

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


/// This action transfers security protocol data from the controller.  The data transferred from the controller contains the status and data result of one or more SecuritySend action requests that were previously submitted to the controller.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct SecurityReceive {
    /// Link to invoke action
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub target: Option<String>,
    /// Friendly action name
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub title: Option<String>,
}

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