redfish_codegen/models/connection_method/v1_1_0/
tunneling_protocol_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum TunnelingProtocolType {
6    /// This value shall indicate that the tunneling protocol is SSH.
7    SSH,
8    /// This value shall indicate that the tunneling protocol is OEM-specific.
9    OEM,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for TunnelingProtocolType {
14     fn default() -> TunnelingProtocolType {
15        TunnelingProtocolType::SSH
16     }
17}
18
19impl crate::Metadata<'static> for TunnelingProtocolType {
20    const JSON_SCHEMA: &'static str = "ConnectionMethod.v1_1_0.json";
21}