pub struct UpdateTelemetry {
pub event_id: String,
pub current_version: String,
pub target_version: String,
pub channel: String,
pub platform: String,
pub operation: String,
pub success: bool,
pub duration_ms: u64,
pub download_size: Option<u64>,
pub error_message: Option<String>,
pub timestamp: DateTime<Utc>,
}Expand description
Update telemetry data for analytics
Fields§
§event_id: StringUnique telemetry event ID
current_version: StringCurrent version
target_version: StringTarget version
channel: StringUpdate channel
platform: StringPlatform identifier
operation: StringOperation type (check, download, install, rollback)
success: boolSuccess or failure
duration_ms: u64Duration in milliseconds
download_size: Option<u64>Download size in bytes
error_message: Option<String>Error message (if failed)
timestamp: DateTime<Utc>Timestamp of the event
Trait Implementations§
Source§impl Clone for UpdateTelemetry
impl Clone for UpdateTelemetry
Source§fn clone(&self) -> UpdateTelemetry
fn clone(&self) -> UpdateTelemetry
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 UpdateTelemetry
impl Debug for UpdateTelemetry
Source§impl<'de> Deserialize<'de> for UpdateTelemetry
impl<'de> Deserialize<'de> for UpdateTelemetry
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 UpdateTelemetry
impl RefUnwindSafe for UpdateTelemetry
impl Send for UpdateTelemetry
impl Sync for UpdateTelemetry
impl Unpin for UpdateTelemetry
impl UnwindSafe for UpdateTelemetry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].