pub struct GitHubTelemetryClientInfo {
pub cli_version: String,
pub client_name: Option<String>,
pub client_type: Option<String>,
pub copilot_plan: Option<String>,
pub dev_device_id: Option<String>,
pub is_staff: Option<bool>,
pub node_version: String,
pub os_arch: String,
pub os_platform: String,
pub os_version: String,
}Expand description
Client environment metadata describing the process that produced a telemetry event.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cli_version: StringCopilot CLI version string.
client_name: Option<String>Name of the client application.
client_type: Option<String>Type of client.
copilot_plan: Option<String>Copilot subscription plan, when known.
dev_device_id: Option<String>Stable machine identifier for the device.
is_staff: Option<bool>Whether the user is a GitHub/Microsoft staff member.
node_version: StringNode.js runtime version string.
os_arch: StringOperating system architecture (e.g. arm64, x64).
os_platform: StringOperating system platform (e.g. darwin, linux, win32).
os_version: StringOperating system version string.
Trait Implementations§
Source§impl Clone for GitHubTelemetryClientInfo
impl Clone for GitHubTelemetryClientInfo
Source§fn clone(&self) -> GitHubTelemetryClientInfo
fn clone(&self) -> GitHubTelemetryClientInfo
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 GitHubTelemetryClientInfo
impl Debug for GitHubTelemetryClientInfo
Source§impl Default for GitHubTelemetryClientInfo
impl Default for GitHubTelemetryClientInfo
Source§fn default() -> GitHubTelemetryClientInfo
fn default() -> GitHubTelemetryClientInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitHubTelemetryClientInfo
impl<'de> Deserialize<'de> for GitHubTelemetryClientInfo
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 GitHubTelemetryClientInfo
impl RefUnwindSafe for GitHubTelemetryClientInfo
impl Send for GitHubTelemetryClientInfo
impl Sync for GitHubTelemetryClientInfo
impl Unpin for GitHubTelemetryClientInfo
impl UnsafeUnpin for GitHubTelemetryClientInfo
impl UnwindSafe for GitHubTelemetryClientInfo
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