#[non_exhaustive]pub struct ProfileRate {
pub statement: String,
pub rate: SchedulerRate,
}Expand description
A per-priority shaping-rate-* or excess-rate-* statement of a traffic-control profile.
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.statement: StringThe statement, such as shaping-rate-priority-high or excess-rate-low.
rate: SchedulerRateTrait Implementations§
Source§impl Clone for ProfileRate
impl Clone for ProfileRate
Source§impl Debug for ProfileRate
impl Debug for ProfileRate
impl Eq for ProfileRate
Source§impl PartialEq for ProfileRate
impl PartialEq for ProfileRate
impl StructuralPartialEq for ProfileRate
Auto Trait Implementations§
impl Forget for ProfileRate
impl Freeze for ProfileRate
impl Move for ProfileRate
impl RefUnwindSafe for ProfileRate
impl Send for ProfileRatewhere
RawVecInner: Send,
impl Sync for ProfileRatewhere
RawVecInner: Sync,
impl Unpin for ProfileRate
impl UnsafeUnpin for ProfileRate
impl UnwindSafe for ProfileRatewhere
RawVecInner: UnwindSafe,
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