[][src]Struct k8s_openapi::api::flowcontrol::v1beta1::LimitResponse

pub struct LimitResponse {
    pub queuing: Option<QueuingConfiguration>,
    pub type_: String,
}

LimitResponse defines how to handle requests that can not be executed right now.

Fields

queuing: Option<QueuingConfiguration>

queuing holds the configuration parameters for queuing. This field may be non-empty only if type is "Queue".

type_: String

type is "Queue" or "Reject". "Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.

Trait Implementations

impl Clone for LimitResponse[src]

impl Debug for LimitResponse[src]

impl Default for LimitResponse[src]

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

impl PartialEq<LimitResponse> for LimitResponse[src]

impl Serialize for LimitResponse[src]

impl StructuralPartialEq for LimitResponse[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.