pub struct AccountLoginResult {
pub stored_in_vault: bool,
}Expand description
Result of a successful login; throws on failure
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§stored_in_vault: boolWhether the credential was persisted to a secure store (system keychain, or the config file when plaintext storage is enabled). False when no secure store was available and the token was not saved, so the consumer can decide how to proceed.
Trait Implementations§
Source§impl Clone for AccountLoginResult
impl Clone for AccountLoginResult
Source§fn clone(&self) -> AccountLoginResult
fn clone(&self) -> AccountLoginResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountLoginResult
impl Debug for AccountLoginResult
Source§impl Default for AccountLoginResult
impl Default for AccountLoginResult
Source§fn default() -> AccountLoginResult
fn default() -> AccountLoginResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountLoginResult
impl<'de> Deserialize<'de> for AccountLoginResult
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 AccountLoginResult
impl RefUnwindSafe for AccountLoginResult
impl Send for AccountLoginResult
impl Sync for AccountLoginResult
impl Unpin for AccountLoginResult
impl UnsafeUnpin for AccountLoginResult
impl UnwindSafe for AccountLoginResult
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