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

pub struct PriorityLevelConfigurationSpec {
    pub limited: Option<LimitedPriorityLevelConfiguration>,
    pub type_: String,
}

PriorityLevelConfigurationSpec specifies the configuration of a priority level.

Fields

limited: Option<LimitedPriorityLevelConfiguration>

limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is "Limited".

type_: String

type indicates whether this priority level is subject to limitation on request execution. A value of "Exempt" means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of "Limited" means that (a) requests of this priority level are subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.

Trait Implementations

impl Clone for PriorityLevelConfigurationSpec[src]

impl Debug for PriorityLevelConfigurationSpec[src]

impl Default for PriorityLevelConfigurationSpec[src]

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

impl PartialEq<PriorityLevelConfigurationSpec> for PriorityLevelConfigurationSpec[src]

impl Serialize for PriorityLevelConfigurationSpec[src]

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