redfish_codegen/models/physical_context/
physical_sub_context.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum PhysicalSubContext {
6    /// The input.
7    Input,
8    /// The output.
9    Output,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for PhysicalSubContext {
14     fn default() -> PhysicalSubContext {
15        PhysicalSubContext::Input
16     }
17}
18
19impl crate::Metadata<'static> for PhysicalSubContext {
20    const JSON_SCHEMA: &'static str = "PhysicalContext.json";
21}