pub struct NetworkPriority {
pub name: String,
pub priority: u32,
}Expand description
Network priority.
Fields§
§name: StringInterface name.
priority: u32Priority.
Trait Implementations§
Source§impl Clone for NetworkPriority
impl Clone for NetworkPriority
Source§fn clone(&self) -> NetworkPriority
fn clone(&self) -> NetworkPriority
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 NetworkPriority
impl Debug for NetworkPriority
Source§impl<'de> Deserialize<'de> for NetworkPriority
impl<'de> Deserialize<'de> for NetworkPriority
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 NetworkPriority
impl RefUnwindSafe for NetworkPriority
impl Send for NetworkPriority
impl Sync for NetworkPriority
impl Unpin for NetworkPriority
impl UnsafeUnpin for NetworkPriority
impl UnwindSafe for NetworkPriority
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