pub struct DropletsListResponseDropletsItemNetworksV6Item {
pub gateway: Option<Ipv6Addr>,
pub ip_address: Option<Ipv6Addr>,
pub netmask: Option<i64>,
pub type_: Option<DropletsListResponseDropletsItemNetworksV6ItemType>,
}Expand description
DropletsListResponseDropletsItemNetworksV6Item
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<DropletsListResponseDropletsItemNetworksV6ItemType>The type of the IPv6 network interface.
Note*: IPv6 private networking is not currently supported.
Trait Implementations§
Source§impl Clone for DropletsListResponseDropletsItemNetworksV6Item
impl Clone for DropletsListResponseDropletsItemNetworksV6Item
Source§fn clone(&self) -> DropletsListResponseDropletsItemNetworksV6Item
fn clone(&self) -> DropletsListResponseDropletsItemNetworksV6Item
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 DropletsListResponseDropletsItemNetworksV6Item
impl<'de> Deserialize<'de> for DropletsListResponseDropletsItemNetworksV6Item
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<&DropletsListResponseDropletsItemNetworksV6Item> for DropletsListResponseDropletsItemNetworksV6Item
impl From<&DropletsListResponseDropletsItemNetworksV6Item> for DropletsListResponseDropletsItemNetworksV6Item
Source§fn from(value: &DropletsListResponseDropletsItemNetworksV6Item) -> Self
fn from(value: &DropletsListResponseDropletsItemNetworksV6Item) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DropletsListResponseDropletsItemNetworksV6Item
impl RefUnwindSafe for DropletsListResponseDropletsItemNetworksV6Item
impl Send for DropletsListResponseDropletsItemNetworksV6Item
impl Sync for DropletsListResponseDropletsItemNetworksV6Item
impl Unpin for DropletsListResponseDropletsItemNetworksV6Item
impl UnsafeUnpin for DropletsListResponseDropletsItemNetworksV6Item
impl UnwindSafe for DropletsListResponseDropletsItemNetworksV6Item
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