#[non_exhaustive]pub enum CredentialResponse {
Get {
token: Secret<String>,
cache: CacheControl,
operation_independent: bool,
},
Login,
Logout,
Unknown,
}
Expand description
Message sent by the credential helper
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CredentialResponse
impl Clone for CredentialResponse
Source§fn clone(&self) -> CredentialResponse
fn clone(&self) -> CredentialResponse
Returns a copy of the value. Read more
1.0.0 · 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 CredentialResponse
impl Debug for CredentialResponse
Source§impl<'de> Deserialize<'de> for CredentialResponse
impl<'de> Deserialize<'de> for CredentialResponse
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 CredentialResponse
impl PartialEq for CredentialResponse
Source§impl Serialize for CredentialResponse
impl Serialize for CredentialResponse
impl Eq for CredentialResponse
impl StructuralPartialEq for CredentialResponse
Auto Trait Implementations§
impl Freeze for CredentialResponse
impl RefUnwindSafe for CredentialResponse
impl Send for CredentialResponse
impl Sync for CredentialResponse
impl Unpin for CredentialResponse
impl UnwindSafe for CredentialResponse
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>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes
Size for each variant:
Get
: 48 bytesLogin
: 0 bytesLogout
: 0 bytesUnknown
: 0 bytes