pub struct StoredAccountAuth {
pub schema_version: u8,
pub api_base: String,
pub bundle: AccountAuthBundle,
}Expand description
Versioned secure-storage envelope shared by every local Codewhale surface.
This type intentionally does not implement Debug because bundle
contains access and refresh credentials.
Fields§
§schema_version: u8Serialized record version.
api_base: StringExact canonical API origin that owns this session.
bundle: AccountAuthBundleSecret account bundle stored inside the credential manager.
Trait Implementations§
Source§impl Clone for StoredAccountAuth
impl Clone for StoredAccountAuth
Source§fn clone(&self) -> StoredAccountAuth
fn clone(&self) -> StoredAccountAuth
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<'de> Deserialize<'de> for StoredAccountAuth
impl<'de> Deserialize<'de> for StoredAccountAuth
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 StoredAccountAuth
impl RefUnwindSafe for StoredAccountAuth
impl Send for StoredAccountAuth
impl Sync for StoredAccountAuth
impl Unpin for StoredAccountAuth
impl UnsafeUnpin for StoredAccountAuth
impl UnwindSafe for StoredAccountAuth
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