pub struct TelemetryStats {
pub total_commands: usize,
pub total_sessions: usize,
pub total_errors: usize,
pub top_commands: Vec<(String, i64)>,
pub features_used: Vec<(String, i64)>,
}Expand description
Telemetry statistics
Fields§
§total_commands: usize§total_sessions: usize§total_errors: usize§top_commands: Vec<(String, i64)>§features_used: Vec<(String, i64)>Trait Implementations§
Source§impl Clone for TelemetryStats
impl Clone for TelemetryStats
Source§fn clone(&self) -> TelemetryStats
fn clone(&self) -> TelemetryStats
Returns a duplicate 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 TelemetryStats
impl Debug for TelemetryStats
Source§impl<'de> Deserialize<'de> for TelemetryStats
impl<'de> Deserialize<'de> for TelemetryStats
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 TelemetryStats
impl RefUnwindSafe for TelemetryStats
impl Send for TelemetryStats
impl Sync for TelemetryStats
impl Unpin for TelemetryStats
impl UnwindSafe for TelemetryStats
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