pub struct PriorityLevelConfigurationSpec {
pub exempt: Option<ExemptPriorityLevelConfiguration>,
pub limited: Option<LimitedPriorityLevelConfiguration>,
pub type_: String,
}k8s only.Expand description
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
Fields§
§exempt: Option<ExemptPriorityLevelConfiguration>exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is "Limited". This field MAY be non-empty if type is "Exempt". If empty and type is "Exempt" then the default values for ExemptPriorityLevelConfiguration apply.
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_: Stringtype 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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl DeepMerge for PriorityLevelConfigurationSpec
impl DeepMerge for PriorityLevelConfigurationSpec
Source§fn merge_from(&mut self, other: PriorityLevelConfigurationSpec)
fn merge_from(&mut self, other: PriorityLevelConfigurationSpec)
other into self.Source§impl Default for PriorityLevelConfigurationSpec
impl Default for PriorityLevelConfigurationSpec
Source§fn default() -> PriorityLevelConfigurationSpec
fn default() -> PriorityLevelConfigurationSpec
Source§impl<'de> Deserialize<'de> for PriorityLevelConfigurationSpec
impl<'de> Deserialize<'de> for PriorityLevelConfigurationSpec
Source§fn deserialize<D>(
deserializer: D,
) -> Result<PriorityLevelConfigurationSpec, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<PriorityLevelConfigurationSpec, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl JsonSchema for PriorityLevelConfigurationSpec
Available on crate feature schemars only.
impl JsonSchema for PriorityLevelConfigurationSpec
schemars only.Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Serialize for PriorityLevelConfigurationSpec
impl Serialize for PriorityLevelConfigurationSpec
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl StructuralPartialEq for PriorityLevelConfigurationSpec
Auto Trait Implementations§
impl Forget for PriorityLevelConfigurationSpec
impl Freeze for PriorityLevelConfigurationSpec
impl Move for PriorityLevelConfigurationSpec
impl RefUnwindSafe for PriorityLevelConfigurationSpec
impl Send for PriorityLevelConfigurationSpec
impl Sync for PriorityLevelConfigurationSpec
impl Unpin for PriorityLevelConfigurationSpec
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
map-response-body only.Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
trace only.Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
trace only.