Enum vibrant::db::ProjectRequestLimit
source · pub enum ProjectRequestLimit {
Default = 1_000_000,
Enterprise = 100_000_000,
Disabled = 100000001,
}
Variants§
Default = 1_000_000
project can serve 1,000,000 requests per billing period
Enterprise = 100_000_000
project can serve 100,000,000 requests per billing period
Disabled = 100000001
project has no request limit (requests SHOULD NOT be tracked if this is set)
Trait Implementations§
source§impl Clone for ProjectRequestLimit
impl Clone for ProjectRequestLimit
source§fn clone(&self) -> ProjectRequestLimit
fn clone(&self) -> ProjectRequestLimit
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 ProjectRequestLimit
impl Debug for ProjectRequestLimit
source§impl Default for ProjectRequestLimit
impl Default for ProjectRequestLimit
source§impl<'de> Deserialize<'de> for ProjectRequestLimit
impl<'de> Deserialize<'de> for ProjectRequestLimit
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 Display for ProjectRequestLimit
impl Display for ProjectRequestLimit
source§impl PartialEq for ProjectRequestLimit
impl PartialEq for ProjectRequestLimit
source§fn eq(&self, other: &ProjectRequestLimit) -> bool
fn eq(&self, other: &ProjectRequestLimit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ProjectRequestLimit
impl Serialize for ProjectRequestLimit
impl StructuralPartialEq for ProjectRequestLimit
Auto Trait Implementations§
impl RefUnwindSafe for ProjectRequestLimit
impl Send for ProjectRequestLimit
impl Sync for ProjectRequestLimit
impl Unpin for ProjectRequestLimit
impl UnwindSafe for ProjectRequestLimit
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<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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request