#[non_exhaustive]pub struct BandwidthThreshold {
pub bandwidth: String,
pub priority_cost: Option<String>,
}Expand description
A bandwidth-threshold of a tracked interface: the priority cost applied below bandwidth bits
per second.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bandwidth: String§priority_cost: Option<String>Trait Implementations§
Source§impl Clone for BandwidthThreshold
impl Clone for BandwidthThreshold
Source§impl Debug for BandwidthThreshold
impl Debug for BandwidthThreshold
impl Eq for BandwidthThreshold
Source§impl PartialEq for BandwidthThreshold
impl PartialEq for BandwidthThreshold
impl StructuralPartialEq for BandwidthThreshold
Auto Trait Implementations§
impl Forget for BandwidthThreshold
impl Freeze for BandwidthThreshold
impl Move for BandwidthThreshold
impl RefUnwindSafe for BandwidthThreshold
impl Send for BandwidthThreshold
impl Sync for BandwidthThreshold
impl Unpin for BandwidthThreshold
impl UnsafeUnpin for BandwidthThreshold
impl UnwindSafe for BandwidthThreshold
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