pub enum SubscriptionQuotaDataState {
Fresh,
Stale,
Missing,
}Expand description
Freshness state for subscription quota data exposed to router plugins.
Variants§
Fresh
Data is inside the configured routing freshness window.
Stale
Data exists but is older than the configured routing freshness window.
Missing
No usable subscription quota data exists for the candidate/window.
Trait Implementations§
Source§impl Clone for SubscriptionQuotaDataState
impl Clone for SubscriptionQuotaDataState
Source§fn clone(&self) -> SubscriptionQuotaDataState
fn clone(&self) -> SubscriptionQuotaDataState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubscriptionQuotaDataState
Source§impl Debug for SubscriptionQuotaDataState
impl Debug for SubscriptionQuotaDataState
Source§impl<'de> Deserialize<'de> for SubscriptionQuotaDataState
impl<'de> Deserialize<'de> for SubscriptionQuotaDataState
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
impl Eq for SubscriptionQuotaDataState
Source§impl Hash for SubscriptionQuotaDataState
impl Hash for SubscriptionQuotaDataState
Source§impl PartialEq for SubscriptionQuotaDataState
impl PartialEq for SubscriptionQuotaDataState
Source§fn eq(&self, other: &SubscriptionQuotaDataState) -> bool
fn eq(&self, other: &SubscriptionQuotaDataState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubscriptionQuotaDataState
Auto Trait Implementations§
impl Freeze for SubscriptionQuotaDataState
impl RefUnwindSafe for SubscriptionQuotaDataState
impl Send for SubscriptionQuotaDataState
impl Sync for SubscriptionQuotaDataState
impl Unpin for SubscriptionQuotaDataState
impl UnsafeUnpin for SubscriptionQuotaDataState
impl UnwindSafe for SubscriptionQuotaDataState
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