#[non_exhaustive]pub struct AdvisoryOptions {
pub downstream_rate: Option<String>,
pub upstream_rate: Option<String>,
}Expand description
The advisory-options of a unit: the rates used for traffic shaping.
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.downstream_rate: Option<String>§upstream_rate: Option<String>Trait Implementations§
Source§impl Clone for AdvisoryOptions
impl Clone for AdvisoryOptions
Source§impl Debug for AdvisoryOptions
impl Debug for AdvisoryOptions
impl Eq for AdvisoryOptions
Source§impl PartialEq for AdvisoryOptions
impl PartialEq for AdvisoryOptions
impl StructuralPartialEq for AdvisoryOptions
Auto Trait Implementations§
impl Forget for AdvisoryOptions
impl Freeze for AdvisoryOptions
impl Move for AdvisoryOptions
impl RefUnwindSafe for AdvisoryOptions
impl Send for AdvisoryOptionswhere
RawVecInner: Send,
impl Sync for AdvisoryOptionswhere
RawVecInner: Sync,
impl Unpin for AdvisoryOptions
impl UnsafeUnpin for AdvisoryOptions
impl UnwindSafe for AdvisoryOptionswhere
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