Struct netem_trace::model::loss::RepeatedLossPatternConfig
source · pub struct RepeatedLossPatternConfig {
pub pattern: Vec<Box<dyn LossTraceConfig>>,
pub count: usize,
}Expand description
The configuration struct for RepeatedLossPattern.
See RepeatedLossPattern for more details.
Fields§
§pattern: Vec<Box<dyn LossTraceConfig>>§count: usizeImplementations§
Trait Implementations§
source§impl Clone for RepeatedLossPatternConfig
impl Clone for RepeatedLossPatternConfig
source§fn clone(&self) -> RepeatedLossPatternConfig
fn clone(&self) -> RepeatedLossPatternConfig
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 Default for RepeatedLossPatternConfig
impl Default for RepeatedLossPatternConfig
source§fn default() -> RepeatedLossPatternConfig
fn default() -> RepeatedLossPatternConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RepeatedLossPatternConfigwhere
RepeatedLossPatternConfig: Default,
impl<'de> Deserialize<'de> for RepeatedLossPatternConfigwhere
RepeatedLossPatternConfig: 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
source§impl LossTraceConfig for RepeatedLossPatternConfig
impl LossTraceConfig for RepeatedLossPatternConfig
fn into_model(self: Box<RepeatedLossPatternConfig>) -> Box<dyn LossTrace>
Auto Trait Implementations§
impl !RefUnwindSafe for RepeatedLossPatternConfig
impl !Send for RepeatedLossPatternConfig
impl !Sync for RepeatedLossPatternConfig
impl Unpin for RepeatedLossPatternConfig
impl !UnwindSafe for RepeatedLossPatternConfig
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