Struct google_compute1::api::HttpFaultDelay[][src]

pub struct HttpFaultDelay {
    pub fixed_delay: Option<Duration>,
    pub percentage: Option<f64>,
}

Specifies the delay introduced by Loadbalancer before forwarding the request to the backend service as part of fault injection.

This type is not used in any activity, and only used as part of another schema.

Fields

fixed_delay: Option<Duration>

Specifies the value of the fixed delay interval.

percentage: Option<f64>

The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection. The value must be between 0.0 and 100.0 inclusive.

Trait Implementations

impl Clone for HttpFaultDelay[src]

impl Debug for HttpFaultDelay[src]

impl Default for HttpFaultDelay[src]

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

impl Part for HttpFaultDelay[src]

impl Serialize for HttpFaultDelay[src]

Auto Trait Implementations

impl RefUnwindSafe for HttpFaultDelay[src]

impl Send for HttpFaultDelay[src]

impl Sync for HttpFaultDelay[src]

impl Unpin for HttpFaultDelay[src]

impl UnwindSafe for HttpFaultDelay[src]

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> Instrument 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.