[][src]Struct google_testing1::TrafficRule

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 Clone for TrafficRule[src]

impl Debug for TrafficRule[src]

impl Default for TrafficRule[src]

impl<'de> Deserialize<'de> for TrafficRule[src]

impl Part for TrafficRule[src]

impl Serialize for TrafficRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any