pub struct BootstrapIpv6 {
pub address: Ipv6Addr,
pub prefix_len: u8,
pub gateway: Ipv6Addr,
pub dns: Option<Ipv6Addr>,
}Expand description
Guest IPv6 address configuration.
Fields§
§address: Ipv6AddrGuest IPv6 address.
prefix_len: u8CIDR prefix length.
gateway: Ipv6AddrDefault gateway.
dns: Option<Ipv6Addr>DNS resolver address.
Trait Implementations§
Source§impl Clone for BootstrapIpv6
impl Clone for BootstrapIpv6
Source§fn clone(&self) -> BootstrapIpv6
fn clone(&self) -> BootstrapIpv6
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 moreimpl Copy for BootstrapIpv6
Source§impl Debug for BootstrapIpv6
impl Debug for BootstrapIpv6
Source§impl<'de> Deserialize<'de> for BootstrapIpv6
impl<'de> Deserialize<'de> for BootstrapIpv6
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
impl Eq for BootstrapIpv6
Source§impl PartialEq for BootstrapIpv6
impl PartialEq for BootstrapIpv6
Source§impl Serialize for BootstrapIpv6
impl Serialize for BootstrapIpv6
impl StructuralPartialEq for BootstrapIpv6
Auto Trait Implementations§
impl Freeze for BootstrapIpv6
impl RefUnwindSafe for BootstrapIpv6
impl Send for BootstrapIpv6
impl Sync for BootstrapIpv6
impl Unpin for BootstrapIpv6
impl UnsafeUnpin for BootstrapIpv6
impl UnwindSafe for BootstrapIpv6
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