pub struct GitHubTelemetryNotification {
pub event: GitHubTelemetryEvent,
pub restricted: bool,
pub session_id: SessionId,
}Expand description
Payload for a gitHubTelemetry.event notification: a single GitHub telemetry event the runtime forwards to a host connection that opted into telemetry forwarding for the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§event: GitHubTelemetryEventThe telemetry event, in the runtime’s native GitHub-shaped telemetry format.
restricted: boolWhether this is a restricted telemetry event (cli.restricted_telemetry). Hosts must route restricted events to first-party Microsoft stores only.
session_id: SessionIdSession the telemetry event belongs to.
Trait Implementations§
Source§impl Clone for GitHubTelemetryNotification
impl Clone for GitHubTelemetryNotification
Source§fn clone(&self) -> GitHubTelemetryNotification
fn clone(&self) -> GitHubTelemetryNotification
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 moreSource§impl Debug for GitHubTelemetryNotification
impl Debug for GitHubTelemetryNotification
Source§impl Default for GitHubTelemetryNotification
impl Default for GitHubTelemetryNotification
Source§fn default() -> GitHubTelemetryNotification
fn default() -> GitHubTelemetryNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitHubTelemetryNotification
impl<'de> Deserialize<'de> for GitHubTelemetryNotification
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 GitHubTelemetryNotification
impl RefUnwindSafe for GitHubTelemetryNotification
impl Send for GitHubTelemetryNotification
impl Sync for GitHubTelemetryNotification
impl Unpin for GitHubTelemetryNotification
impl UnsafeUnpin for GitHubTelemetryNotification
impl UnwindSafe for GitHubTelemetryNotification
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