pub enum ChallengeParams {
Token {
token: String,
},
Possession {
cert_name: String,
signature: Vec<u8>,
},
Raw(Map<String, Value>),
}Expand description
Parameters for a specific challenge type.
Variants§
Token
Token challenge: submit a pre-provisioned token.
Possession
Possession challenge: prove ownership of an existing certificate.
Raw(Map<String, Value>)
Raw key-value parameters for custom or future challenge types.
Implementations§
Trait Implementations§
Source§impl Clone for ChallengeParams
impl Clone for ChallengeParams
Source§fn clone(&self) -> ChallengeParams
fn clone(&self) -> ChallengeParams
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 moreAuto Trait Implementations§
impl Freeze for ChallengeParams
impl RefUnwindSafe for ChallengeParams
impl Send for ChallengeParams
impl Sync for ChallengeParams
impl Unpin for ChallengeParams
impl UnwindSafe for ChallengeParams
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