pub struct AuthLoginResult {
pub provider: String,
pub env: String,
pub identity: String,
pub expires_at: String,
}Expand description
Data rendered after a successful auth login.
Fields§
§provider: StringProvider used for login.
env: StringEnvironment used for login.
identity: StringAuthenticated identity.
expires_at: StringCredential expiration timestamp.
Trait Implementations§
Source§impl Clone for AuthLoginResult
impl Clone for AuthLoginResult
Source§fn clone(&self) -> AuthLoginResult
fn clone(&self) -> AuthLoginResult
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 AuthLoginResult
impl Debug for AuthLoginResult
Source§impl<'de> Deserialize<'de> for AuthLoginResult
impl<'de> Deserialize<'de> for AuthLoginResult
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
impl Eq for AuthLoginResult
Source§impl PartialEq for AuthLoginResult
impl PartialEq for AuthLoginResult
Source§fn eq(&self, other: &AuthLoginResult) -> bool
fn eq(&self, other: &AuthLoginResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthLoginResult
impl Serialize for AuthLoginResult
impl StructuralPartialEq for AuthLoginResult
Auto Trait Implementations§
impl Freeze for AuthLoginResult
impl RefUnwindSafe for AuthLoginResult
impl Send for AuthLoginResult
impl Sync for AuthLoginResult
impl Unpin for AuthLoginResult
impl UnsafeUnpin for AuthLoginResult
impl UnwindSafe for AuthLoginResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.