pub struct LxcInterface {Show 14 fields
pub name: Option<String>,
pub hwaddr: Option<String>,
pub inet: Option<String>,
pub inet6: Option<String>,
pub ip_addresses: Vec<LxcIpAddress>,
pub address: Option<String>,
pub netmask: Option<String>,
pub gateway: Option<String>,
pub gateway6: Option<String>,
pub method: Option<String>,
pub type_: Option<String>,
pub exists: Option<u64>,
pub active: Option<u64>,
pub extra: Map<String, Value>,
}Expand description
Runtime interface data returned by the PVE LXC interfaces endpoint.
Fields§
§name: Option<String>§hwaddr: Option<String>§inet: Option<String>§inet6: Option<String>§ip_addresses: Vec<LxcIpAddress>§address: Option<String>§netmask: Option<String>§gateway: Option<String>§gateway6: Option<String>§method: Option<String>§type_: Option<String>§exists: Option<u64>§active: Option<u64>§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for LxcInterface
impl Clone for LxcInterface
Source§fn clone(&self) -> LxcInterface
fn clone(&self) -> LxcInterface
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 moreSource§impl Debug for LxcInterface
impl Debug for LxcInterface
Source§impl<'de> Deserialize<'de> for LxcInterface
impl<'de> Deserialize<'de> for LxcInterface
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
Source§impl PartialEq for LxcInterface
impl PartialEq for LxcInterface
impl StructuralPartialEq for LxcInterface
Auto Trait Implementations§
impl Freeze for LxcInterface
impl RefUnwindSafe for LxcInterface
impl Send for LxcInterface
impl Sync for LxcInterface
impl Unpin for LxcInterface
impl UnsafeUnpin for LxcInterface
impl UnwindSafe for LxcInterface
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