Struct google_compute1::api::HttpRetryPolicy[][src]

pub struct HttpRetryPolicy {
    pub num_retries: Option<u32>,
    pub per_try_timeout: Option<Duration>,
    pub retry_conditions: Option<Vec<String>>,
}

The retry policy associates with HttpRouteRule

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

Fields

num_retries: Option<u32>

Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1.

per_try_timeout: Option<Duration>

Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in HttpRouteAction. If timeout in HttpRouteAction is not set, will use the largest timeout among all backend services associated with the route.

retry_conditions: Option<Vec<String>>

Specfies one or more conditions when this retry rule applies. Valid values are:

Trait Implementations

impl Clone for HttpRetryPolicy[src]

impl Debug for HttpRetryPolicy[src]

impl Default for HttpRetryPolicy[src]

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

impl Part for HttpRetryPolicy[src]

impl Serialize for HttpRetryPolicy[src]

Auto Trait Implementations

impl RefUnwindSafe for HttpRetryPolicy[src]

impl Send for HttpRetryPolicy[src]

impl Sync for HttpRetryPolicy[src]

impl Unpin for HttpRetryPolicy[src]

impl UnwindSafe for HttpRetryPolicy[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.