[][src]Struct nispor::Iface

pub struct Iface {
    pub name: String,
    pub index: u32,
    pub iface_type: IfaceType,
    pub state: IfaceState,
    pub mtu: i64,
    pub flags: Vec<IfaceFlags>,
    pub ipv4: Option<Ipv4Info>,
    pub ipv6: Option<Ipv6Info>,
    pub mac_address: String,
    pub controller: Option<String>,
    pub controller_type: Option<ControllerType>,
    pub bond: Option<BondInfo>,
    pub bond_subordinate: Option<BondSubordinateInfo>,
    pub bridge: Option<BridgeInfo>,
    pub bridge_port: Option<BridgePortInfo>,
    pub tun: Option<TunInfo>,
    pub vlan: Option<VlanInfo>,
    pub vxlan: Option<VxlanInfo>,
    pub veth: Option<VethInfo>,
    pub vrf: Option<VrfInfo>,
    pub vrf_subordinate: Option<VrfSubordinateInfo>,
    pub mac_vlan: Option<MacVlanInfo>,
    pub mac_vtap: Option<MacVtapInfo>,
    pub sriov: Option<SriovInfo>,
}

Fields

name: Stringindex: u32iface_type: IfaceTypestate: IfaceStatemtu: i64flags: Vec<IfaceFlags>ipv4: Option<Ipv4Info>ipv6: Option<Ipv6Info>mac_address: Stringcontroller: Option<String>controller_type: Option<ControllerType>bond: Option<BondInfo>bond_subordinate: Option<BondSubordinateInfo>bridge: Option<BridgeInfo>bridge_port: Option<BridgePortInfo>tun: Option<TunInfo>vlan: Option<VlanInfo>vxlan: Option<VxlanInfo>veth: Option<VethInfo>vrf: Option<VrfInfo>vrf_subordinate: Option<VrfSubordinateInfo>mac_vlan: Option<MacVlanInfo>mac_vtap: Option<MacVtapInfo>sriov: Option<SriovInfo>

Trait Implementations

impl Clone for Iface[src]

impl Debug for Iface[src]

impl Default for Iface[src]

impl<'de> Deserialize<'de> for Iface[src]

impl PartialEq<Iface> for Iface[src]

impl Serialize for Iface[src]

impl StructuralPartialEq for Iface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.