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

impl crate::Metadata<'static> for GenerateCSRResponse {
    const JSON_SCHEMA: &'static str = "CertificateService.v1_0_4.json";
}