redfish_codegen/lib.rs
1// Generated by redfish-codegen. Do not modify.
2
3pub mod models;
4pub mod registries;
5
6/// The version of the Redfish Schema Specification provided by this crate.
7pub const REDFISH_VERSION: &str = "2023.1";
8
9/// The OData Version supported by this version of the redfish data model.
10pub const ODATA_VERSION: &str = "4.0";
11
12/// The base URL of the Redfish json-schema files.
13pub const SCHEMA_BASE_URL: &str = "https://redfish.dmtf.org/schemas/v1";
14
15/// Metadata about a model.
16pub trait Metadata<'a> {
17 /// Name of the json-schema file that describes the entity that implements this trait. Should
18 /// be only the file name, so that it can be resolved relative to the URL of the redfish
19 /// service, or the public Redfish schema index.
20 const JSON_SCHEMA: &'a str;
21}