pub struct CredentialAttempt<'a> { /* private fields */ }Expand description
Proof that one credential generation was open when execution began.
Owner identity is deliberately not hashable because exposing it to a caller-supplied hasher could disclose a process address.
ⓘ
use cloud_sdk::authentication::CredentialAttempt;
fn require_hash<T: core::hash::Hash>() {}
require_hash::<CredentialAttempt<'static>>();Implementations§
Source§impl CredentialAttempt<'_>
impl CredentialAttempt<'_>
Sourcepub const fn generation(self) -> CredentialAttemptGeneration
pub const fn generation(self) -> CredentialAttemptGeneration
Returns the generation used by this attempt.
Trait Implementations§
Source§impl<'a> Clone for CredentialAttempt<'a>
impl<'a> Clone for CredentialAttempt<'a>
Source§fn clone(&self) -> CredentialAttempt<'a>
fn clone(&self) -> CredentialAttempt<'a>
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 moreimpl<'a> Copy for CredentialAttempt<'a>
Source§impl Debug for CredentialAttempt<'_>
impl Debug for CredentialAttempt<'_>
impl Eq for CredentialAttempt<'_>
Auto Trait Implementations§
impl<'a> Freeze for CredentialAttempt<'a>
impl<'a> RefUnwindSafe for CredentialAttempt<'a>
impl<'a> Send for CredentialAttempt<'a>
impl<'a> Sync for CredentialAttempt<'a>
impl<'a> Unpin for CredentialAttempt<'a>
impl<'a> UnsafeUnpin for CredentialAttempt<'a>
impl<'a> UnwindSafe for CredentialAttempt<'a>
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