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