Struct netem_trace::model::bw::StaticBwConfig
source · pub struct StaticBwConfig {
pub bw: Option<Bandwidth>,
pub duration: Option<Duration>,
}Fields§
§bw: Option<Bandwidth>§duration: Option<Duration>Implementations§
Trait Implementations§
source§impl BwTraceConfig for StaticBwConfig
impl BwTraceConfig for StaticBwConfig
fn into_model(self: Box<StaticBwConfig>) -> Box<dyn BwTrace>
source§impl Clone for StaticBwConfig
impl Clone for StaticBwConfig
source§fn clone(&self) -> StaticBwConfig
fn clone(&self) -> StaticBwConfig
Returns a copy 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 StaticBwConfig
impl Debug for StaticBwConfig
source§impl Default for StaticBwConfig
impl Default for StaticBwConfig
source§fn default() -> StaticBwConfig
fn default() -> StaticBwConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StaticBwConfigwhere
StaticBwConfig: Default,
impl<'de> Deserialize<'de> for StaticBwConfigwhere
StaticBwConfig: Default,
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
Auto Trait Implementations§
impl RefUnwindSafe for StaticBwConfig
impl Send for StaticBwConfig
impl Sync for StaticBwConfig
impl Unpin for StaticBwConfig
impl UnwindSafe for StaticBwConfig
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