redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.

use crate::models;

/// This type represents a single IPv6 static address to be assigned on a network interface.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[serde(untagged)]
pub enum IPv6GatewayStaticAddress {
    V1_1_3(models::ip_addresses::v1_1_3::IPv6GatewayStaticAddress),
}

#[allow(clippy::derivable_impls)]
impl Default for IPv6GatewayStaticAddress {
     fn default() -> IPv6GatewayStaticAddress {
        IPv6GatewayStaticAddress::V1_1_3(models::ip_addresses::v1_1_3::IPv6GatewayStaticAddress::default())
     }
}

impl crate::Metadata<'static> for IPv6GatewayStaticAddress {
    const JSON_SCHEMA: &'static str = "IPAddresses.json";
}