pub struct CopilotUsageMetricsBreakdownInner {
pub language: Option<String>,
pub editor: Option<String>,
pub suggestions_count: Option<i32>,
pub acceptances_count: Option<i32>,
pub lines_suggested: Option<i32>,
pub lines_accepted: Option<i32>,
pub active_users: Option<i32>,
}
Expand description
CopilotUsageMetricsBreakdownInner : Breakdown of Copilot usage by editor for this language
Fields§
§language: Option<String>
The language in which Copilot suggestions were shown to users in the specified editor.
editor: Option<String>
The editor in which Copilot suggestions were shown to users for the specified language.
suggestions_count: Option<i32>
The number of Copilot suggestions shown to users in the editor specified during the day specified.
acceptances_count: Option<i32>
The number of Copilot suggestions accepted by users in the editor specified during the day specified.
lines_suggested: Option<i32>
The number of lines of code suggested by Copilot in the editor specified during the day specified.
lines_accepted: Option<i32>
The number of lines of code accepted by users in the editor specified during the day specified.
active_users: Option<i32>
The number of users who were shown Copilot completion suggestions in the editor specified during the day specified.
Implementations§
Source§impl CopilotUsageMetricsBreakdownInner
impl CopilotUsageMetricsBreakdownInner
Sourcepub fn new() -> CopilotUsageMetricsBreakdownInner
pub fn new() -> CopilotUsageMetricsBreakdownInner
Breakdown of Copilot usage by editor for this language
Trait Implementations§
Source§impl Clone for CopilotUsageMetricsBreakdownInner
impl Clone for CopilotUsageMetricsBreakdownInner
Source§fn clone(&self) -> CopilotUsageMetricsBreakdownInner
fn clone(&self) -> CopilotUsageMetricsBreakdownInner
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for CopilotUsageMetricsBreakdownInner
impl Default for CopilotUsageMetricsBreakdownInner
Source§fn default() -> CopilotUsageMetricsBreakdownInner
fn default() -> CopilotUsageMetricsBreakdownInner
Source§impl<'de> Deserialize<'de> for CopilotUsageMetricsBreakdownInner
impl<'de> Deserialize<'de> for CopilotUsageMetricsBreakdownInner
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>,
Source§impl PartialEq for CopilotUsageMetricsBreakdownInner
impl PartialEq for CopilotUsageMetricsBreakdownInner
Source§fn eq(&self, other: &CopilotUsageMetricsBreakdownInner) -> bool
fn eq(&self, other: &CopilotUsageMetricsBreakdownInner) -> bool
self
and other
values to be equal, and is used by ==
.