pub struct TelemetryPayload {
pub client_information: ClientInformation,
pub events: Vec<EventWithTimestamp>,
pub num_dropped_events: usize,
}
Expand description
Represents the payload of the request sent with telemetry requests.
Fields§
§client_information: ClientInformation
Client information. See details in [ClientInformation]
.
events: Vec<EventWithTimestamp>
§num_dropped_events: usize
Represents the number of events that where drops due to the
combination of the TELEMETRY_PUSH_COOLDOWN
and MAX_EVENT_IN_QUEUE
.
Trait Implementations§
Source§impl Debug for TelemetryPayload
impl Debug for TelemetryPayload
Source§impl<'de> Deserialize<'de> for TelemetryPayload
impl<'de> Deserialize<'de> for TelemetryPayload
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 TelemetryPayload
impl RefUnwindSafe for TelemetryPayload
impl Send for TelemetryPayload
impl Sync for TelemetryPayload
impl Unpin for TelemetryPayload
impl UnwindSafe for TelemetryPayload
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