pub struct AuthAttemptFailure {
pub error_code: String,
pub message: String,
pub retryable: bool,
}Expand description
Safe terminal failure metadata persisted for one exact attempt.
Fields§
§error_code: String§message: String§retryable: boolImplementations§
Source§impl AuthAttemptFailure
impl AuthAttemptFailure
pub fn completion_failed() -> Self
Trait Implementations§
Source§impl Clone for AuthAttemptFailure
impl Clone for AuthAttemptFailure
Source§fn clone(&self) -> AuthAttemptFailure
fn clone(&self) -> AuthAttemptFailure
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 AuthAttemptFailure
impl Debug for AuthAttemptFailure
Source§impl<'de> Deserialize<'de> for AuthAttemptFailure
impl<'de> Deserialize<'de> for AuthAttemptFailure
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 AuthAttemptFailure
Source§impl PartialEq for AuthAttemptFailure
impl PartialEq for AuthAttemptFailure
Source§impl Serialize for AuthAttemptFailure
impl Serialize for AuthAttemptFailure
impl StructuralPartialEq for AuthAttemptFailure
Auto Trait Implementations§
impl Freeze for AuthAttemptFailure
impl RefUnwindSafe for AuthAttemptFailure
impl Send for AuthAttemptFailure
impl Sync for AuthAttemptFailure
impl Unpin for AuthAttemptFailure
impl UnsafeUnpin for AuthAttemptFailure
impl UnwindSafe for AuthAttemptFailure
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