redfish_codegen/models/aggregation_source/v1_3_1/
snmp_encryption_protocols.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum SNMPEncryptionProtocols {
6    /// This value shall indicate there is no encryption.
7    None,
8    /// This value shall indicate encryption conforms to the RFC3414-defined CBC-DES encryption protocol.
9    #[serde(rename = "CBC_DES")]
10    CBCDES,
11    /// This value shall indicate encryption conforms to the RFC3414-defined CFB128-AES-128 encryption protocol.
12    #[serde(rename = "CFB128_AES128")]
13    CFB128AES128,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for SNMPEncryptionProtocols {
18     fn default() -> SNMPEncryptionProtocols {
19        SNMPEncryptionProtocols::None
20     }
21}
22
23impl crate::Metadata<'static> for SNMPEncryptionProtocols {
24    const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json";
25}