Struct redfish_codegen::models::json_schema_file::v1_1_4::JsonSchemaFile
source · pub struct JsonSchemaFile {
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: MustBeStr<((char<{ _ }>, J, s, o, n, S), (c, h, e, m, a, F), (i, l, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, J), (s, o, n, S, c, h), (e, m, a, F, i, (l, e)))>,
pub actions: Option<Actions>,
pub description: Option<Description>,
pub id: Id,
pub languages: Vec<String>,
pub location: Vec<Location>,
pub name: Name,
pub oem: Option<Oem>,
pub schema: String,
}
Expand description
The JsonSchemaFile schema contains the properties that describe the locations, as URIs, of a Redfish Schema definition that a Redfish Service implements or references.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: MustBeStr<((char<{ _ }>, J, s, o, n, S), (c, h, e, m, a, F), (i, l, e, char<{ _ }>, v, char<{ _ }>), (char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, char<{ _ }>, J), (s, o, n, S, c, h), (e, m, a, F, i, (l, e)))>
§actions: Option<Actions>
§description: Option<Description>
§id: Id
§languages: Vec<String>
The RFC5646-conformant language codes for the available schemas.
location: Vec<Location>
Location information for this schema file.
name: Name
§oem: Option<Oem>
§schema: String
The @odata.type name this schema describes.
Trait Implementations§
source§impl Clone for JsonSchemaFile
impl Clone for JsonSchemaFile
source§fn clone(&self) -> JsonSchemaFile
fn clone(&self) -> JsonSchemaFile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JsonSchemaFile
impl Debug for JsonSchemaFile
source§impl Default for JsonSchemaFile
impl Default for JsonSchemaFile
source§fn default() -> JsonSchemaFile
fn default() -> JsonSchemaFile
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JsonSchemaFile
impl<'de> Deserialize<'de> for JsonSchemaFile
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more