pub struct AuthenticationSecret(pub [u8; 16]);Expand description
A sequence of 16 octets generated by the user agent to act as a symmetric key and will be mixed into the key generation process as described in [https://datatracker.ietf.org/doc/html/rfc8291#section-3.2](RFC 8291 Section 3.2).
Tuple Fields§
§0: [u8; 16]Trait Implementations§
Source§impl AsRef<[u8]> for AuthenticationSecret
impl AsRef<[u8]> for AuthenticationSecret
Source§impl Clone for AuthenticationSecret
impl Clone for AuthenticationSecret
Source§fn clone(&self) -> AuthenticationSecret
fn clone(&self) -> AuthenticationSecret
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 moreSource§impl Debug for AuthenticationSecret
impl Debug for AuthenticationSecret
Source§impl<'de> Deserialize<'de> for AuthenticationSecret
impl<'de> Deserialize<'de> for AuthenticationSecret
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
impl Eq for AuthenticationSecret
Source§impl Hash for AuthenticationSecret
impl Hash for AuthenticationSecret
Source§impl PartialEq for AuthenticationSecret
impl PartialEq for AuthenticationSecret
Source§fn eq(&self, other: &AuthenticationSecret) -> bool
fn eq(&self, other: &AuthenticationSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthenticationSecret
impl Serialize for AuthenticationSecret
impl StructuralPartialEq for AuthenticationSecret
Auto Trait Implementations§
impl Freeze for AuthenticationSecret
impl RefUnwindSafe for AuthenticationSecret
impl Send for AuthenticationSecret
impl Sync for AuthenticationSecret
impl Unpin for AuthenticationSecret
impl UnsafeUnpin for AuthenticationSecret
impl UnwindSafe for AuthenticationSecret
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.