pub struct GitHubTelemetryNotification {
pub event: GitHubTelemetryEvent,
pub restricted: bool,
pub session_id: Option<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 during the server.connect handshake.
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: Option<SessionId>Session the telemetry event belongs to, when it is session-scoped. Omitted for sessionless events (for example, server.sendTelemetry calls with no session id), which are still forwarded to opted-in connections.
Trait Implementations§
Source§impl Clone for GitHubTelemetryNotification
impl Clone for GitHubTelemetryNotification
Source§fn clone(&self) -> GitHubTelemetryNotification
fn clone(&self) -> GitHubTelemetryNotification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more