pub enum TelemetryEvent {
SessionStarted {
session_id: String,
version: String,
os: String,
arch: String,
},
SessionEnded {
session_id: String,
duration_ms: u64,
},
CommandExecuted {
command: String,
success: bool,
duration_ms: u64,
},
FeatureUsed {
feature: String,
context: Option<String>,
},
ErrorOccurred {
error_type: String,
context: String,
},
ThemeChanged {
from: String,
to: String,
},
ConfigChanged {
key: String,
},
}Expand description
Telemetry event types
Variants§
SessionStarted
Application session started
SessionEnded
Application session ended
CommandExecuted
Command executed (command name only, no arguments)
FeatureUsed
Feature used
ErrorOccurred
Error occurred
ThemeChanged
Theme changed
ConfigChanged
Configuration changed
Trait Implementations§
Source§impl Clone for TelemetryEvent
impl Clone for TelemetryEvent
Source§fn clone(&self) -> TelemetryEvent
fn clone(&self) -> TelemetryEvent
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 TelemetryEvent
impl Debug for TelemetryEvent
Source§impl<'de> Deserialize<'de> for TelemetryEvent
impl<'de> Deserialize<'de> for TelemetryEvent
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 TelemetryEvent
impl RefUnwindSafe for TelemetryEvent
impl Send for TelemetryEvent
impl Sync for TelemetryEvent
impl Unpin for TelemetryEvent
impl UnwindSafe for TelemetryEvent
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