pub struct CopilotOrganizationDetails {
pub seat_breakdown: Box<CopilotSeatBreakdown>,
pub public_code_suggestions: PublicCodeSuggestions,
pub ide_chat: Option<IdeChat>,
pub platform_chat: Option<PlatformChat>,
pub cli: Option<Cli>,
pub seat_management_setting: SeatManagementSetting,
}
Expand description
CopilotOrganizationDetails : Information about the seat breakdown and policies set for an organization with a Copilot Business subscription.
Fields§
§seat_breakdown: Box<CopilotSeatBreakdown>
§public_code_suggestions: PublicCodeSuggestions
The organization policy for allowing or disallowing Copilot to make suggestions that match public code.
ide_chat: Option<IdeChat>
The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.
platform_chat: Option<PlatformChat>
The organization policy for allowing or disallowing organization members to use Copilot features within github.com.
cli: Option<Cli>
The organization policy for allowing or disallowing organization members to use Copilot within their CLI.
seat_management_setting: SeatManagementSetting
The mode of assigning new seats.
Implementations§
Source§impl CopilotOrganizationDetails
impl CopilotOrganizationDetails
Sourcepub fn new(
seat_breakdown: CopilotSeatBreakdown,
public_code_suggestions: PublicCodeSuggestions,
seat_management_setting: SeatManagementSetting,
) -> CopilotOrganizationDetails
pub fn new( seat_breakdown: CopilotSeatBreakdown, public_code_suggestions: PublicCodeSuggestions, seat_management_setting: SeatManagementSetting, ) -> CopilotOrganizationDetails
Information about the seat breakdown and policies set for an organization with a Copilot Business subscription.
Trait Implementations§
Source§impl Clone for CopilotOrganizationDetails
impl Clone for CopilotOrganizationDetails
Source§fn clone(&self) -> CopilotOrganizationDetails
fn clone(&self) -> CopilotOrganizationDetails
Returns a duplicate of the value. Read more
1.0.0 · 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 CopilotOrganizationDetails
impl Debug for CopilotOrganizationDetails
Source§impl Default for CopilotOrganizationDetails
impl Default for CopilotOrganizationDetails
Source§fn default() -> CopilotOrganizationDetails
fn default() -> CopilotOrganizationDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopilotOrganizationDetails
impl<'de> Deserialize<'de> for CopilotOrganizationDetails
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
impl StructuralPartialEq for CopilotOrganizationDetails
Auto Trait Implementations§
impl Freeze for CopilotOrganizationDetails
impl RefUnwindSafe for CopilotOrganizationDetails
impl Send for CopilotOrganizationDetails
impl Sync for CopilotOrganizationDetails
impl Unpin for CopilotOrganizationDetails
impl UnwindSafe for CopilotOrganizationDetails
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