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 response body for the Rekey action.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct RekeyResponse {
    /// The string for the certificate signing request.
    #[serde(rename = "CSRString")]
    pub csr_string: String,
    #[serde(rename = "Certificate")]
    pub certificate: models::odata_v4::IdRef,
}

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