pub struct CardinalityReport {
    pub timestamp: UnixTimestamp,
    pub organization_id: Option<OrganizationId>,
    pub project_id: Option<ProjectId>,
    pub metric_type: Option<MetricType>,
    pub metric_name: Option<MetricName>,
    pub cardinality: u32,
}Expand description
Cardinality report for a specific limit.
Contains scoping information for the enforced limit and the current cardinality.
If all of the scoping information is None, the limit is a global cardinality limit.
Fields§
§timestamp: UnixTimestampTime for which the cardinality limit was enforced.
organization_id: Option<OrganizationId>Organization id for which the cardinality limit was applied.
Only available if the the limit was at least scoped to
CardinalityScope::Organization.
project_id: Option<ProjectId>Project id for which the cardinality limit was applied.
Only available if the the limit was at least scoped to
CardinalityScope::Project.
metric_type: Option<MetricType>Metric type for which the cardinality limit was applied.
Only available if the the limit was scoped to
CardinalityScope::Type.
metric_name: Option<MetricName>Metric name for which the cardinality limit was applied.
Only available if the limit was scoped to
CardinalityScope::Name.
cardinality: u32The current cardinality.
Trait Implementations§
Source§impl Clone for CardinalityReport
 
impl Clone for CardinalityReport
Source§fn clone(&self) -> CardinalityReport
 
fn clone(&self) -> CardinalityReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CardinalityReport
 
impl Debug for CardinalityReport
Source§impl Ord for CardinalityReport
 
impl Ord for CardinalityReport
Source§fn cmp(&self, other: &CardinalityReport) -> Ordering
 
fn cmp(&self, other: &CardinalityReport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Source§impl PartialEq for CardinalityReport
 
impl PartialEq for CardinalityReport
Source§impl PartialOrd for CardinalityReport
 
impl PartialOrd for CardinalityReport
impl Eq for CardinalityReport
impl StructuralPartialEq for CardinalityReport
Auto Trait Implementations§
impl Freeze for CardinalityReport
impl RefUnwindSafe for CardinalityReport
impl Send for CardinalityReport
impl Sync for CardinalityReport
impl Unpin for CardinalityReport
impl UnwindSafe for CardinalityReport
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
§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
key and return true if they are equal.