pub struct ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item {
pub gateway: Option<Ipv6Addr>,
pub ip_address: Option<Ipv6Addr>,
pub netmask: Option<i64>,
pub type_: Option<ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6ItemType>,
}Expand description
ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
JSON schema
{
"type": "object",
"properties": {
"gateway": {
"description": "The gateway of the specified IPv6 network interface.",
"examples": [
"2604:a880:0:1010::1"
],
"type": "string",
"format": "ipv6"
},
"ip_address": {
"description": "The IP address of the IPv6 network interface.",
"examples": [
"2604:a880:0:1010::18a:a001"
],
"type": "string",
"format": "ipv6"
},
"netmask": {
"description": "The netmask of the IPv6 network interface.",
"examples": [
64
],
"type": "integer"
},
"type": {
"description": "The type of the IPv6 network interface.\n\n**Note**: IPv6 private networking is not currently supported.\n",
"examples": [
"public"
],
"type": "string",
"enum": [
"public"
]
}
}
}Fields§
§gateway: Option<Ipv6Addr>The gateway of the specified IPv6 network interface.
ip_address: Option<Ipv6Addr>The IP address of the IPv6 network interface.
netmask: Option<i64>The netmask of the IPv6 network interface.
type_: Option<ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6ItemType>The type of the IPv6 network interface.
Note*: IPv6 private networking is not currently supported.
Trait Implementations§
Source§impl Clone for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl Clone for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
Source§fn clone(
&self,
) -> ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
fn clone( &self, ) -> ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl<'de> Deserialize<'de> for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item> for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl From<&ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item> for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
Source§fn from(
value: &ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item,
) -> Self
fn from( value: &ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl RefUnwindSafe for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl Send for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl Sync for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl Unpin for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl UnsafeUnpin for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
impl UnwindSafe for ReservedIPsCreateResponseReservedIpDropletSubtype1NetworksV6Item
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more