redfish-codegen 0.3.1

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


/// The action to collect the diagnostic data for the given type.  When the diagnostic data is collected, a new log entry will be created and the additional data referenced by the new log entry will contain the diagnostic data.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct CollectDiagnosticData {
    /// 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 CollectDiagnosticData {
    const JSON_SCHEMA: &'static str = "LogService.v1_4_0.json";
}