pub enum QuotaKey {
OrgUsers,
Integrations,
Devices,
Entities,
Zones,
ApiKeys,
DoorOpens,
PortalViews,
VideoSessions,
VideoSessionDurationSeconds,
ScriptingExecutions,
}Expand description
A metered resource. Lifetime keys count current rows in their source-of-truth
table; temporal keys accumulate via usage_events + quota_counters.
String form (used in DB columns and JSON responses) is snake_case via `EnumString`.JSON schema
{
"description": "A metered resource. Lifetime keys count current rows in their source-of-truth\ntable; temporal keys accumulate via `usage_events` + `quota_counters`.\n\nString form (used in DB columns and JSON responses) is snake_case via `EnumString`.",
"type": "string",
"enum": [
"org_users",
"integrations",
"devices",
"entities",
"zones",
"api_keys",
"door_opens",
"portal_views",
"video_sessions",
"video_session_duration_seconds",
"scripting_executions"
]
}Variants§
OrgUsers
Integrations
Devices
Entities
Zones
ApiKeys
DoorOpens
PortalViews
VideoSessions
VideoSessionDurationSeconds
ScriptingExecutions
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuotaKey
impl<'de> Deserialize<'de> for QuotaKey
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 Ord for QuotaKey
impl Ord for QuotaKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for QuotaKey
impl PartialOrd for QuotaKey
Source§impl TryFrom<&String> for QuotaKey
impl TryFrom<&String> for QuotaKey
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for QuotaKey
impl TryFrom<&str> for QuotaKey
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for QuotaKey
impl TryFrom<String> for QuotaKey
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for QuotaKey
impl Eq for QuotaKey
impl StructuralPartialEq for QuotaKey
Auto Trait Implementations§
impl Freeze for QuotaKey
impl RefUnwindSafe for QuotaKey
impl Send for QuotaKey
impl Sync for QuotaKey
impl Unpin for QuotaKey
impl UnsafeUnpin for QuotaKey
impl UnwindSafe for QuotaKey
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