pub struct AuthStatusDto {
pub account_count: i64,
pub active_host: Option<String>,
pub active_login: Option<String>,
pub copilot_plan: Option<String>,
pub is_authenticated: bool,
}Expand description
Neutral authentication status summary.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§account_count: i64Number of signed-in accounts in the roster.
active_host: Option<String>Active account host, if authenticated.
active_login: Option<String>Active account login, if authenticated.
copilot_plan: Option<String>Copilot plan tier of the active account, if known.
is_authenticated: boolWhether the session has resolved authentication.
Trait Implementations§
Source§impl Clone for AuthStatusDto
impl Clone for AuthStatusDto
Source§impl Debug for AuthStatusDto
impl Debug for AuthStatusDto
Source§impl Default for AuthStatusDto
impl Default for AuthStatusDto
Source§impl<'de> Deserialize<'de> for AuthStatusDto
impl<'de> Deserialize<'de> for AuthStatusDto
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 AuthStatusDto
impl RefUnwindSafe for AuthStatusDto
impl Send for AuthStatusDto
impl Sync for AuthStatusDto
impl Unpin for AuthStatusDto
impl UnsafeUnpin for AuthStatusDto
impl UnwindSafe for AuthStatusDto
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