pub struct DemoQuotas {Show 14 fields
pub max_active_runs_global: u32,
pub max_active_runs_per_visitor: u32,
pub max_runs_per_session: u32,
pub accepted_starts_per_token: u32,
pub accepted_starts_per_client_ip: u32,
pub accepted_start_window_secs: u64,
pub retained_runs_per_visitor: u32,
pub max_tune_run_rows_global: u32,
pub max_json_body_bytes: u64,
pub max_sse_per_visitor: u32,
pub max_sse_global: u32,
pub sse_lifetime_secs: u64,
pub ordinary_request_concurrency: u32,
pub ordinary_request_timeout_secs: u64,
}Fields§
§max_active_runs_global: u32§max_active_runs_per_visitor: u32§max_runs_per_session: u32§accepted_starts_per_token: u32§accepted_starts_per_client_ip: u32§accepted_start_window_secs: u64§retained_runs_per_visitor: u32§max_tune_run_rows_global: u32§max_json_body_bytes: u64§max_sse_per_visitor: u32§max_sse_global: u32§sse_lifetime_secs: u64§ordinary_request_concurrency: u32§ordinary_request_timeout_secs: u64Trait Implementations§
Source§impl ComposeSchema for DemoQuotas
impl ComposeSchema for DemoQuotas
Source§impl Debug for DemoQuotas
impl Debug for DemoQuotas
impl Eq for DemoQuotas
Source§impl From<DemoPolicy> for DemoQuotas
impl From<DemoPolicy> for DemoQuotas
Source§fn from(policy: DemoPolicy) -> Self
fn from(policy: DemoPolicy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DemoQuotas
impl PartialEq for DemoQuotas
Source§fn eq(&self, other: &DemoQuotas) -> bool
fn eq(&self, other: &DemoQuotas) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DemoQuotas
impl Serialize for DemoQuotas
impl StructuralPartialEq for DemoQuotas
Auto Trait Implementations§
impl Freeze for DemoQuotas
impl RefUnwindSafe for DemoQuotas
impl Send for DemoQuotas
impl Sync for DemoQuotas
impl Unpin for DemoQuotas
impl UnsafeUnpin for DemoQuotas
impl UnwindSafe for DemoQuotas
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].