pub struct Ipv6NetworkConfig {
pub address: Ipv6Addr,
pub prefix_length: u8,
pub gateway: Option<Ipv6Addr>,
pub nameservers: Vec<Ipv6Addr>,
}Fields§
§address: Ipv6Addr§prefix_length: u8§gateway: Option<Ipv6Addr>§nameservers: Vec<Ipv6Addr>Trait Implementations§
Source§impl Clone for Ipv6NetworkConfig
impl Clone for Ipv6NetworkConfig
Source§fn clone(&self) -> Ipv6NetworkConfig
fn clone(&self) -> Ipv6NetworkConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ipv6NetworkConfig
impl Debug for Ipv6NetworkConfig
Source§impl<'de> Deserialize<'de> for Ipv6NetworkConfig
impl<'de> Deserialize<'de> for Ipv6NetworkConfig
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 Ipv6NetworkConfig
impl RefUnwindSafe for Ipv6NetworkConfig
impl Send for Ipv6NetworkConfig
impl Sync for Ipv6NetworkConfig
impl Unpin for Ipv6NetworkConfig
impl UnwindSafe for Ipv6NetworkConfig
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