pub struct SingleTcModel {Show 13 fields
pub interface: String,
pub kind: String,
pub qlen: Option<u32>,
pub bps: Option<u32>,
pub pps: Option<u32>,
pub bytes_per_sec: Option<u64>,
pub packets_per_sec: Option<u32>,
pub backlog_per_sec: Option<u32>,
pub drops_per_sec: Option<u32>,
pub requeues_per_sec: Option<u32>,
pub overlimits_per_sec: Option<u32>,
pub qdisc: Option<QDiscModel>,
pub xstats: Option<XStatsModel>,
}
Fields§
§interface: String
Name of the interface
kind: String
Name of the qdisc
qlen: Option<u32>
§bps: Option<u32>
§pps: Option<u32>
§bytes_per_sec: Option<u64>
§packets_per_sec: Option<u32>
§backlog_per_sec: Option<u32>
§drops_per_sec: Option<u32>
§requeues_per_sec: Option<u32>
§overlimits_per_sec: Option<u32>
§qdisc: Option<QDiscModel>
§xstats: Option<XStatsModel>
Implementations§
Trait Implementations§
Source§impl Clone for SingleTcModel
impl Clone for SingleTcModel
Source§fn clone(&self) -> SingleTcModel
fn clone(&self) -> SingleTcModel
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 SingleTcModel
impl Debug for SingleTcModel
Source§impl Default for SingleTcModel
impl Default for SingleTcModel
Source§fn default() -> SingleTcModel
fn default() -> SingleTcModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SingleTcModel
impl<'de> Deserialize<'de> for SingleTcModel
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 Nameable for SingleTcModel
impl Nameable for SingleTcModel
Source§impl PartialEq for SingleTcModel
impl PartialEq for SingleTcModel
Source§impl Queriable for SingleTcModel
impl Queriable for SingleTcModel
Source§impl Serialize for SingleTcModel
impl Serialize for SingleTcModel
impl StructuralPartialEq for SingleTcModel
Auto Trait Implementations§
impl Freeze for SingleTcModel
impl RefUnwindSafe for SingleTcModel
impl Send for SingleTcModel
impl Sync for SingleTcModel
impl Unpin for SingleTcModel
impl UnwindSafe for SingleTcModel
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