pub struct CommStoreStats {Show 18 fields
pub channel_count: usize,
pub message_count: usize,
pub subscription_count: usize,
pub total_participants: usize,
pub dead_letter_count: usize,
pub messages_by_type: HashMap<String, usize>,
pub messages_by_priority: HashMap<String, usize>,
pub channels_by_state: HashMap<String, usize>,
pub oldest_message: Option<DateTime<Utc>>,
pub newest_message: Option<DateTime<Utc>>,
pub consent_gate_count: usize,
pub trust_override_count: usize,
pub temporal_queue_count: usize,
pub hive_count: usize,
pub comm_log_count: usize,
pub federation_enabled: bool,
pub federated_zone_count: usize,
pub audit_log_count: usize,
}Expand description
Summary statistics for a CommStore.
Fields§
§channel_count: usizeNumber of channels.
message_count: usizeNumber of messages.
subscription_count: usizeNumber of active subscriptions.
total_participants: usizeTotal number of participants across all channels.
dead_letter_count: usizeNumber of messages in the dead letter queue.
messages_by_type: HashMap<String, usize>Count of messages grouped by message type.
messages_by_priority: HashMap<String, usize>Count of messages grouped by priority.
channels_by_state: HashMap<String, usize>Count of channels grouped by state.
oldest_message: Option<DateTime<Utc>>Timestamp of the oldest message in the store.
newest_message: Option<DateTime<Utc>>Timestamp of the newest message in the store.
consent_gate_count: usizeNumber of consent gates.
trust_override_count: usizeNumber of trust level overrides.
temporal_queue_count: usizeNumber of scheduled temporal messages.
hive_count: usizeNumber of hive minds.
comm_log_count: usizeNumber of communication log entries.
federation_enabled: boolWhether federation is enabled.
federated_zone_count: usizeNumber of federated zones.
audit_log_count: usizeNumber of audit log entries.
Trait Implementations§
Source§impl Clone for CommStoreStats
impl Clone for CommStoreStats
Source§fn clone(&self) -> CommStoreStats
fn clone(&self) -> CommStoreStats
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 moreSource§impl Debug for CommStoreStats
impl Debug for CommStoreStats
Source§impl<'de> Deserialize<'de> for CommStoreStats
impl<'de> Deserialize<'de> for CommStoreStats
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
Auto Trait Implementations§
impl Freeze for CommStoreStats
impl RefUnwindSafe for CommStoreStats
impl Send for CommStoreStats
impl Sync for CommStoreStats
impl Unpin for CommStoreStats
impl UnsafeUnpin for CommStoreStats
impl UnwindSafe for CommStoreStats
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