pub struct NetworkV6 {
pub gateway: Ipv6Addr,
pub ip_address: Ipv6Addr,
pub netmask: usize,
pub kind: String,
}Expand description
These exist in the networks field of a droplet.
Fields§
§gateway: Ipv6Addr§ip_address: Ipv6Addr§netmask: usize§kind: StringNote: Since type is a keyword in Rust kind is used instead.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NetworkV6
impl<'de> Deserialize<'de> for NetworkV6
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
Auto Trait Implementations§
impl Freeze for NetworkV6
impl RefUnwindSafe for NetworkV6
impl Send for NetworkV6
impl Sync for NetworkV6
impl Unpin for NetworkV6
impl UnwindSafe for NetworkV6
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