pub struct TenantUsage {
pub domains_count: i64,
pub domains_limit: i32,
pub verified_domains: i64,
pub routes_count: i64,
pub routes_per_domain_limit: i32,
pub upstreams_count: i64,
pub upstreams_limit: i32,
pub backends_per_upstream_limit: i32,
pub api_keys_count: i64,
pub api_keys_limit: i32,
}Expand description
Tenant usage stats.
Fields§
§domains_count: i64Domains registered.
domains_limit: i32How many the tenant’s plan allows.
verified_domains: i64How many of those domains are verified.
routes_count: i64Routes across all of them.
routes_per_domain_limit: i32How many routes each domain may have.
upstreams_count: i64Upstreams defined.
upstreams_limit: i32How many upstreams the tenant may define.
backends_per_upstream_limit: i32How many backends each upstream may have.
api_keys_count: i64API keys, including revoked ones.
api_keys_limit: i32How many API keys the tenant may hold.
Trait Implementations§
Source§impl Clone for TenantUsage
impl Clone for TenantUsage
Source§impl Debug for TenantUsage
impl Debug for TenantUsage
Auto Trait Implementations§
impl Freeze for TenantUsage
impl RefUnwindSafe for TenantUsage
impl Send for TenantUsage
impl Sync for TenantUsage
impl Unpin for TenantUsage
impl UnsafeUnpin for TenantUsage
impl UnwindSafe for TenantUsage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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