pub struct AccountStatus {
pub active: bool,
pub derived_from: Option<String>,
pub host: String,
pub kind: AccountKind,
pub login: String,
pub selection_id: String,
}Expand description
One signed-in account in the roster forest.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§active: boolWhether this is the active account.
derived_from: Option<String>Opaque id of the account this one was derived from (e.g. an EMU account’s base Entra identity); absent for a root account. Matches the base identity account’s selectionId, forming the derivation edge.
host: StringAuthentication host URL.
kind: AccountKindThe provider kind of this account.
login: StringAuthenticated login/username.
selection_id: StringOpaque selection id used to switch to, or log out, this account.
Trait Implementations§
Source§impl Clone for AccountStatus
impl Clone for AccountStatus
Source§impl Debug for AccountStatus
impl Debug for AccountStatus
Source§impl Default for AccountStatus
impl Default for AccountStatus
Source§impl<'de> Deserialize<'de> for AccountStatus
impl<'de> Deserialize<'de> for AccountStatus
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 AccountStatus
impl RefUnwindSafe for AccountStatus
impl Send for AccountStatus
impl Sync for AccountStatus
impl Unpin for AccountStatus
impl UnsafeUnpin for AccountStatus
impl UnwindSafe for AccountStatus
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