Struct google_testing1::TrafficRule [−][src]
pub struct TrafficRule {
pub delay: Option<String>,
pub packet_loss_ratio: Option<f32>,
pub bandwidth: Option<f32>,
pub burst: Option<f32>,
pub packet_duplication_ratio: Option<f32>,
}Network emulation parameters
This type is not used in any activity, and only used as part of another schema.
Fields
delay: Option<String>
Packet delay, must be >= 0
packet_loss_ratio: Option<f32>
Packet loss ratio (0.0 - 1.0)
bandwidth: Option<f32>
Bandwidth in kbits/second
burst: Option<f32>
Burst size in kbits
packet_duplication_ratio: Option<f32>
Packet duplication ratio (0.0 - 1.0)
Trait Implementations
impl Default for TrafficRule[src]
impl Default for TrafficRulefn default() -> TrafficRule[src]
fn default() -> TrafficRuleReturns the "default value" for a type. Read more
impl Clone for TrafficRule[src]
impl Clone for TrafficRulefn clone(&self) -> TrafficRule[src]
fn clone(&self) -> TrafficRuleReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for TrafficRule[src]
impl Debug for TrafficRulefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for TrafficRule[src]
impl Part for TrafficRuleAuto Trait Implementations
impl Send for TrafficRule
impl Send for TrafficRuleimpl Sync for TrafficRule
impl Sync for TrafficRule