Struct k8s_openapi::api::flowcontrol::v1beta1::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
sourceimpl Clone for LimitResponse
impl Clone for LimitResponse
sourcefn clone(&self) -> LimitResponse
fn clone(&self) -> LimitResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LimitResponse
impl Debug for LimitResponse
sourceimpl DeepMerge for LimitResponse
impl DeepMerge for LimitResponse
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl Default for LimitResponse
impl Default for LimitResponse
sourcefn default() -> LimitResponse
fn default() -> LimitResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LimitResponse
impl<'de> Deserialize<'de> for LimitResponse
sourcefn 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
sourceimpl PartialEq<LimitResponse> for LimitResponse
impl PartialEq<LimitResponse> for LimitResponse
sourcefn 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 ==
. Read more
sourceimpl Serialize for LimitResponse
impl Serialize for LimitResponse
impl StructuralPartialEq for LimitResponse
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more