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

Packet delay, must be >= 0

Packet loss ratio (0.0 - 1.0)

Bandwidth in kbits/second

Burst size in kbits

Packet duplication ratio (0.0 - 1.0)

Trait Implementations

impl Default for TrafficRule
[src]

Returns the "default value" for a type. Read more

impl Clone for TrafficRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TrafficRule
[src]

Formats the value using the given formatter. Read more

impl Part for TrafficRule
[src]

Auto Trait Implementations

impl Send for TrafficRule

impl Sync for TrafficRule