pub enum ChallengeType {
CHALLENGE_UNKNOWN = 0,
CHALLENGE_CLIENT_SECRET_HMAC = 1,
CHALLENGE_EVALUATE_JS = 2,
CHALLENGE_HASH_CASH = 3,
}Variants§
CHALLENGE_UNKNOWN = 0
CHALLENGE_CLIENT_SECRET_HMAC = 1
CHALLENGE_EVALUATE_JS = 2
CHALLENGE_HASH_CASH = 3
Trait Implementations§
Source§impl Clone for ChallengeType
impl Clone for ChallengeType
Source§fn clone(&self) -> ChallengeType
fn clone(&self) -> ChallengeType
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 Copy for ChallengeType
Source§impl Debug for ChallengeType
impl Debug for ChallengeType
Source§impl Default for ChallengeType
impl Default for ChallengeType
Source§impl Enum for ChallengeType
impl Enum for ChallengeType
Source§const VALUES: &'static [ChallengeType]
const VALUES: &'static [ChallengeType]
All enum values for enum type.
Source§impl EnumFull for ChallengeType
impl EnumFull for ChallengeType
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
impl Eq for ChallengeType
Source§impl Hash for ChallengeType
impl Hash for ChallengeType
Source§impl PartialEq for ChallengeType
impl PartialEq for ChallengeType
Source§fn eq(&self, other: &ChallengeType) -> bool
fn eq(&self, other: &ChallengeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChallengeType
Auto Trait Implementations§
impl Freeze for ChallengeType
impl RefUnwindSafe for ChallengeType
impl Send for ChallengeType
impl Sync for ChallengeType
impl Unpin for ChallengeType
impl UnsafeUnpin for ChallengeType
impl UnwindSafe for ChallengeType
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