Struct k8s_openapi::api::flowcontrol::v1beta3::LimitResponse
source · 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§
source§impl Clone for LimitResponse
impl Clone for LimitResponse
source§fn clone(&self) -> LimitResponse
fn clone(&self) -> LimitResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LimitResponse
impl Debug for LimitResponse
source§impl DeepMerge for LimitResponse
impl DeepMerge for LimitResponse
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for LimitResponse
impl Default for LimitResponse
source§fn default() -> LimitResponse
fn default() -> LimitResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LimitResponse
impl<'de> Deserialize<'de> for LimitResponse
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<LimitResponse> for LimitResponse
impl PartialEq<LimitResponse> for LimitResponse
source§fn eq(&self, other: &LimitResponse) -> bool
fn eq(&self, other: &LimitResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.