pub struct Iface {
pub name: String,
pub ipv4: Option<Ipv4Addr>,
pub ipv6: Option<Ipv6Addr>,
pub index: u32,
}Fields§
§name: String§ipv4: Option<Ipv4Addr>§ipv6: Option<Ipv6Addr>§index: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Iface
impl<'de> Deserialize<'de> for Iface
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 Iface
impl RefUnwindSafe for Iface
impl Send for Iface
impl Sync for Iface
impl Unpin for Iface
impl UnwindSafe for Iface
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