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]
fn default() -> TrafficRule[src]
Returns the "default value" for a type. Read more
impl Clone for TrafficRule[src]
fn clone(&self) -> TrafficRule[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more