pub enum AccountKind {
GitHubDotCom,
Proxima,
EntraEmu,
Entra,
Loki,
Unknown,
}Expand description
The provider kind stamped on a signed-in account.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
GitHubDotCom
An OAuth github.com account.
Proxima
A GitHub Enterprise Cloud account — a GitHub account on a non-github.com host, e.g. *.ghe.com.
EntraEmu
A GitHub (EMU) account derived from a base Entra identity.
Entra
A base Microsoft Entra identity.
Loki
A Microsoft 365 Copilot (Loki) inference account derived from the same base Entra identity as an EMU account; its bearer is a Loki-scoped inference token consumed through the model-provider path, not the GitHub switcher.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AccountKind
impl Clone for AccountKind
Source§impl Debug for AccountKind
impl Debug for AccountKind
Source§impl Default for AccountKind
impl Default for AccountKind
Source§impl<'de> Deserialize<'de> for AccountKind
impl<'de> Deserialize<'de> for AccountKind
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 Eq for AccountKind
Source§impl PartialEq for AccountKind
impl PartialEq for AccountKind
Source§impl Serialize for AccountKind
impl Serialize for AccountKind
impl StructuralPartialEq for AccountKind
Auto Trait Implementations§
impl Freeze for AccountKind
impl RefUnwindSafe for AccountKind
impl Send for AccountKind
impl Sync for AccountKind
impl Unpin for AccountKind
impl UnsafeUnpin for AccountKind
impl UnwindSafe for AccountKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.