pub struct NetworkInterfacePriority {
pub name: String,
pub priority: i64,
}
Fields§
§name: String
§priority: i64
Trait Implementations§
Source§impl Clone for NetworkInterfacePriority
impl Clone for NetworkInterfacePriority
Source§fn clone(&self) -> NetworkInterfacePriority
fn clone(&self) -> NetworkInterfacePriority
Returns a duplicate of the value. Read more
1.0.0 · 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 NetworkInterfacePriority
impl Debug for NetworkInterfacePriority
Source§impl Default for NetworkInterfacePriority
impl Default for NetworkInterfacePriority
Source§fn default() -> NetworkInterfacePriority
fn default() -> NetworkInterfacePriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkInterfacePriority
impl<'de> Deserialize<'de> for NetworkInterfacePriority
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 NetworkInterfacePriority
impl PartialEq for NetworkInterfacePriority
Source§impl Serialize for NetworkInterfacePriority
impl Serialize for NetworkInterfacePriority
impl StructuralPartialEq for NetworkInterfacePriority
Auto Trait Implementations§
impl Freeze for NetworkInterfacePriority
impl RefUnwindSafe for NetworkInterfacePriority
impl Send for NetworkInterfacePriority
impl Sync for NetworkInterfacePriority
impl Unpin for NetworkInterfacePriority
impl UnwindSafe for NetworkInterfacePriority
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