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 copy 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 ChallengeType
impl Debug for ChallengeType
source§impl Default for ChallengeType
impl Default for ChallengeType
source§impl Enum for ChallengeType
impl Enum for ChallengeType
source§fn from_i32(value: i32) -> Option<ChallengeType>
fn from_i32(value: i32) -> Option<ChallengeType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§fn from_str(str: &str) -> Option<ChallengeType>
fn from_str(str: &str) -> Option<ChallengeType>
Try to create an enum from
&str value.
Return None if str is unknown.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.
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
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ChallengeType
impl Eq for ChallengeType
impl StructuralPartialEq for ChallengeType
Auto Trait Implementations§
impl RefUnwindSafe for ChallengeType
impl Send for ChallengeType
impl Sync for ChallengeType
impl Unpin 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