pub enum PasswordNotification {
NeedAuth {
auth_type: AuthType,
},
NeedPassword {
auth_type: AuthType,
},
VerificationFailed {
auth_type: AuthType,
},
StaticChallenge {
echo: bool,
challenge: String,
},
DynamicChallenge {
flags: String,
state_id: String,
username_b64: String,
challenge: String,
},
}Expand description
Sub-types of >PASSWORD: notifications. The password notification
has several distinct forms with completely different structures.
Variants§
NeedAuth
>PASSWORD:Need 'Auth' username/password
NeedPassword
>PASSWORD:Need 'Private Key' password
VerificationFailed
>PASSWORD:Verification Failed: 'Auth'
StaticChallenge
Static challenge: >PASSWORD:Need 'Auth' username/password SC:{echo},{challenge}
Fields
DynamicChallenge
Dynamic challenge (CRV1):
>PASSWORD:Need 'Auth' username/password CRV1:{flags}:{state_id}:{username_b64}:{challenge}
Trait Implementations§
Source§impl Clone for PasswordNotification
impl Clone for PasswordNotification
Source§fn clone(&self) -> PasswordNotification
fn clone(&self) -> PasswordNotification
Returns a duplicate 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 PasswordNotification
impl Debug for PasswordNotification
Source§impl PartialEq for PasswordNotification
impl PartialEq for PasswordNotification
impl Eq for PasswordNotification
impl StructuralPartialEq for PasswordNotification
Auto Trait Implementations§
impl Freeze for PasswordNotification
impl RefUnwindSafe for PasswordNotification
impl Send for PasswordNotification
impl Sync for PasswordNotification
impl Unpin for PasswordNotification
impl UnsafeUnpin for PasswordNotification
impl UnwindSafe for PasswordNotification
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