pub enum AltchaAlgorithm {
Sha1,
Sha256,
Sha512,
}
Expand description
Algorithm options for the challenge
Variants§
Trait Implementations§
Source§impl Clone for AltchaAlgorithm
impl Clone for AltchaAlgorithm
Source§fn clone(&self) -> AltchaAlgorithm
fn clone(&self) -> AltchaAlgorithm
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 AltchaAlgorithm
impl Debug for AltchaAlgorithm
Source§impl<'de> Deserialize<'de> for AltchaAlgorithm
impl<'de> Deserialize<'de> for AltchaAlgorithm
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
Source§impl Display for AltchaAlgorithm
impl Display for AltchaAlgorithm
Source§impl FromStr for AltchaAlgorithm
impl FromStr for AltchaAlgorithm
Source§impl Serialize for AltchaAlgorithm
impl Serialize for AltchaAlgorithm
impl Copy for AltchaAlgorithm
Auto Trait Implementations§
impl Freeze for AltchaAlgorithm
impl RefUnwindSafe for AltchaAlgorithm
impl Send for AltchaAlgorithm
impl Sync for AltchaAlgorithm
impl Unpin for AltchaAlgorithm
impl UnwindSafe for AltchaAlgorithm
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