pub struct AuthStatusEntry {
pub provider: String,
pub env: String,
pub identity: String,
pub expires_at: String,
pub expired: bool,
}Expand description
Data rendered by auth status.
Fields§
§provider: StringProvider name.
env: StringEnvironment name.
identity: StringCached identity, empty when missing or unavailable.
expires_at: StringCredential expiration timestamp, empty when missing or unavailable.
expired: boolWhether the cached credential is expired or unavailable.
Trait Implementations§
Source§impl Clone for AuthStatusEntry
impl Clone for AuthStatusEntry
Source§fn clone(&self) -> AuthStatusEntry
fn clone(&self) -> AuthStatusEntry
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 AuthStatusEntry
impl Debug for AuthStatusEntry
Source§impl<'de> Deserialize<'de> for AuthStatusEntry
impl<'de> Deserialize<'de> for AuthStatusEntry
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
Source§impl PartialEq for AuthStatusEntry
impl PartialEq for AuthStatusEntry
Source§fn eq(&self, other: &AuthStatusEntry) -> bool
fn eq(&self, other: &AuthStatusEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthStatusEntry
impl Serialize for AuthStatusEntry
impl Eq for AuthStatusEntry
impl StructuralPartialEq for AuthStatusEntry
Auto Trait Implementations§
impl Freeze for AuthStatusEntry
impl RefUnwindSafe for AuthStatusEntry
impl Send for AuthStatusEntry
impl Sync for AuthStatusEntry
impl Unpin for AuthStatusEntry
impl UnsafeUnpin for AuthStatusEntry
impl UnwindSafe for AuthStatusEntry
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