pub struct CopilotSeatDetails {
pub assignee: Box<CopilotSeatDetailsAssignee>,
pub assigning_team: Option<Option<Box<CopilotSeatDetailsAssigningTeam>>>,
pub pending_cancellation_date: Option<Option<String>>,
pub last_activity_at: Option<Option<String>>,
pub last_activity_editor: Option<Option<String>>,
pub created_at: String,
pub updated_at: Option<String>,
}
Expand description
CopilotSeatDetails : Information about a Copilot Business seat assignment for a user, team, or organization.
Fields§
§assignee: Box<CopilotSeatDetailsAssignee>
§assigning_team: Option<Option<Box<CopilotSeatDetailsAssigningTeam>>>
§pending_cancellation_date: Option<Option<String>>
The pending cancellation date for the seat, in YYYY-MM-DD
format. This will be null unless the assignee’s Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization’s next billing cycle.
last_activity_at: Option<Option<String>>
Timestamp of user’s last GitHub Copilot activity, in ISO 8601 format.
last_activity_editor: Option<Option<String>>
Last editor that was used by the user for a GitHub Copilot completion.
created_at: String
Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format.
updated_at: Option<String>
Timestamp of when the assignee’s GitHub Copilot access was last updated, in ISO 8601 format.
Implementations§
Source§impl CopilotSeatDetails
impl CopilotSeatDetails
Sourcepub fn new(
assignee: CopilotSeatDetailsAssignee,
created_at: String,
) -> CopilotSeatDetails
pub fn new( assignee: CopilotSeatDetailsAssignee, created_at: String, ) -> CopilotSeatDetails
Information about a Copilot Business seat assignment for a user, team, or organization.
Trait Implementations§
Source§impl Clone for CopilotSeatDetails
impl Clone for CopilotSeatDetails
Source§fn clone(&self) -> CopilotSeatDetails
fn clone(&self) -> CopilotSeatDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more