pub struct StorageStats {
pub log_count: u64,
pub span_count: u64,
pub metric_count: u64,
pub oldest_timestamp: Option<i64>,
pub newest_timestamp: Option<i64>,
pub storage_size_bytes: u64,
}Expand description
Statistics about stored telemetry data.
Fields§
§log_count: u64§span_count: u64§metric_count: u64§oldest_timestamp: Option<i64>Oldest record timestamp (nanoseconds since Unix epoch).
newest_timestamp: Option<i64>Newest record timestamp (nanoseconds since Unix epoch).
storage_size_bytes: u64Trait Implementations§
Source§impl Clone for StorageStats
impl Clone for StorageStats
Source§fn clone(&self) -> StorageStats
fn clone(&self) -> StorageStats
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 moreAuto Trait Implementations§
impl Freeze for StorageStats
impl RefUnwindSafe for StorageStats
impl Send for StorageStats
impl Sync for StorageStats
impl Unpin for StorageStats
impl UnsafeUnpin for StorageStats
impl UnwindSafe for StorageStats
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