Struct k8s_openapi::api::flowcontrol::v1beta1::LimitResponse [−][src]
pub struct LimitResponse {
pub queuing: Option<QueuingConfiguration>,
pub type_: String,
}
Expand description
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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LimitResponse
impl Send for LimitResponse
impl Sync for LimitResponse
impl Unpin for LimitResponse
impl UnwindSafe for LimitResponse
Blanket Implementations
Mutably borrows from an owned value. Read more