Struct k8s_openapi::api::flowcontrol::v1beta2::PriorityLevelConfigurationSpec
source · pub struct PriorityLevelConfigurationSpec {
pub limited: Option<LimitedPriorityLevelConfiguration>,
pub type_: String,
}
Expand description
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§
source§impl Clone for PriorityLevelConfigurationSpec
impl Clone for PriorityLevelConfigurationSpec
source§fn clone(&self) -> PriorityLevelConfigurationSpec
fn clone(&self) -> PriorityLevelConfigurationSpec
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 DeepMerge for PriorityLevelConfigurationSpec
impl DeepMerge for PriorityLevelConfigurationSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PriorityLevelConfigurationSpec
impl Default for PriorityLevelConfigurationSpec
source§fn default() -> PriorityLevelConfigurationSpec
fn default() -> PriorityLevelConfigurationSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PriorityLevelConfigurationSpec
impl<'de> Deserialize<'de> for PriorityLevelConfigurationSpec
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 JsonSchema for PriorityLevelConfigurationSpec
impl JsonSchema for PriorityLevelConfigurationSpec
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for PriorityLevelConfigurationSpec
impl PartialEq for PriorityLevelConfigurationSpec
source§fn eq(&self, other: &PriorityLevelConfigurationSpec) -> bool
fn eq(&self, other: &PriorityLevelConfigurationSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PriorityLevelConfigurationSpec
Auto Trait Implementations§
impl Freeze for PriorityLevelConfigurationSpec
impl RefUnwindSafe for PriorityLevelConfigurationSpec
impl Send for PriorityLevelConfigurationSpec
impl Sync for PriorityLevelConfigurationSpec
impl Unpin for PriorityLevelConfigurationSpec
impl UnwindSafe for PriorityLevelConfigurationSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more