Struct rive_models::stats::CollectionStats
source · pub struct CollectionStats {
pub ns: String,
pub local_time: Timestamp,
pub latency_stats: HashMap<String, LatencyStats>,
pub query_exec_stats: QueryExecStats,
pub count: u64,
}Expand description
Collection stats
Fields§
§ns: StringNamespace
local_time: TimestampLocal time
latency_stats: HashMap<String, LatencyStats>Latency stats
query_exec_stats: QueryExecStatsQuery exec stats
count: u64Number of documents in collection
Trait Implementations§
source§impl Clone for CollectionStats
impl Clone for CollectionStats
source§fn clone(&self) -> CollectionStats
fn clone(&self) -> CollectionStats
Returns a copy of the value. Read more
1.0.0 · 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 CollectionStats
impl Debug for CollectionStats
source§impl<'de> Deserialize<'de> for CollectionStats
impl<'de> Deserialize<'de> for CollectionStats
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 RefUnwindSafe for CollectionStats
impl Send for CollectionStats
impl Sync for CollectionStats
impl Unpin for CollectionStats
impl UnwindSafe for CollectionStats
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