pub struct LinksDefaults {
pub latency: String,
pub metric: u64,
pub mtu: u32,
pub bw: String,
/* private fields */
}Fields§
§latency: String§metric: u64§mtu: u32§bw: StringTrait Implementations§
Source§impl Debug for LinksDefaults
impl Debug for LinksDefaults
Source§impl<'de> Deserialize<'de> for LinksDefaults
impl<'de> Deserialize<'de> for LinksDefaults
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 From<&LinksDefaults> for Interface
impl From<&LinksDefaults> for Interface
Source§fn from(dflt: &LinksDefaults) -> Self
fn from(dflt: &LinksDefaults) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinksDefaults
impl RefUnwindSafe for LinksDefaults
impl Send for LinksDefaults
impl Sync for LinksDefaults
impl Unpin for LinksDefaults
impl UnwindSafe for LinksDefaults
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