pub enum AuthenticationAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
Md5,
}Expand description
hmac-sha1- SHA-1 HMAC *hmac-sha256- SHA-256 HMAC *hmac-sha384- SHA-384 HMAC *hmac-sha512- SHA-512 HMAC *hmac-md5- MD5 HMAC
Variants§
Trait Implementations§
Source§impl Clone for AuthenticationAlgorithm
impl Clone for AuthenticationAlgorithm
Source§fn clone(&self) -> AuthenticationAlgorithm
fn clone(&self) -> AuthenticationAlgorithm
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 AuthenticationAlgorithm
impl Debug for AuthenticationAlgorithm
Source§impl Default for AuthenticationAlgorithm
impl Default for AuthenticationAlgorithm
Source§fn default() -> AuthenticationAlgorithm
fn default() -> AuthenticationAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationAlgorithm
impl<'de> Deserialize<'de> for AuthenticationAlgorithm
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 Hash for AuthenticationAlgorithm
impl Hash for AuthenticationAlgorithm
Source§impl Ord for AuthenticationAlgorithm
impl Ord for AuthenticationAlgorithm
Source§fn cmp(&self, other: &AuthenticationAlgorithm) -> Ordering
fn cmp(&self, other: &AuthenticationAlgorithm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthenticationAlgorithm
impl PartialEq for AuthenticationAlgorithm
Source§impl PartialOrd for AuthenticationAlgorithm
impl PartialOrd for AuthenticationAlgorithm
Source§impl Serialize for AuthenticationAlgorithm
impl Serialize for AuthenticationAlgorithm
impl Copy for AuthenticationAlgorithm
impl Eq for AuthenticationAlgorithm
impl StructuralPartialEq for AuthenticationAlgorithm
Auto Trait Implementations§
impl Freeze for AuthenticationAlgorithm
impl RefUnwindSafe for AuthenticationAlgorithm
impl Send for AuthenticationAlgorithm
impl Sync for AuthenticationAlgorithm
impl Unpin for AuthenticationAlgorithm
impl UnwindSafe for AuthenticationAlgorithm
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