redfish_codegen/models/allow_deny/v1_0_0/
ip_address_type.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum IPAddressType {
6    /// IPv4 addressing is used for all IP-fields in this object.
7    IPv4,
8    /// IPv6 addressing is used for all IP-fields in this object.
9    IPv6,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for IPAddressType {
14     fn default() -> IPAddressType {
15        IPAddressType::IPv4
16     }
17}
18
19impl crate::Metadata<'static> for IPAddressType {
20    const JSON_SCHEMA: &'static str = "AllowDeny.v1_0_0.json";
21}