Struct nispor::IfaceConf [−][src]
pub struct IfaceConf {
pub name: String,
pub state: IfaceState,
pub iface_type: Option<IfaceType>,
pub controller: Option<String>,
pub ipv4: Option<IpConf>,
pub ipv6: Option<IpConf>,
pub mac_address: Option<String>,
pub veth: Option<VethConf>,
pub bridge: Option<BridgeConf>,
pub vlan: Option<VlanConf>,
}
Fields
name: String
state: IfaceState
iface_type: Option<IfaceType>
controller: Option<String>
ipv4: Option<IpConf>
ipv6: Option<IpConf>
mac_address: Option<String>
veth: Option<VethConf>
bridge: Option<BridgeConf>
vlan: Option<VlanConf>
Implementations
Trait Implementations
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 RefUnwindSafe for IfaceConf
impl UnwindSafe for IfaceConf
Blanket Implementations
Mutably borrows from an owned value. Read more