pub struct AuthenticateData(pub Secret<Vec<u8>>);
Expand description
Data line used, e.g., during AUTHENTICATE.
Holds the raw binary data, i.e., a Vec<u8>
, not the BASE64 string.
Tuple Fields§
§0: Secret<Vec<u8>>
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for AuthenticateData
impl<'arbitrary> Arbitrary<'arbitrary> for AuthenticateData
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for AuthenticateData
impl Clone for AuthenticateData
Source§fn clone(&self) -> AuthenticateData
fn clone(&self) -> AuthenticateData
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 AuthenticateData
impl Debug for AuthenticateData
Source§impl<'de> Deserialize<'de> for AuthenticateData
impl<'de> Deserialize<'de> for AuthenticateData
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 AuthenticateData
impl Hash for AuthenticateData
Source§impl IntoBoundedStatic for AuthenticateData
impl IntoBoundedStatic for AuthenticateData
Source§type Static = AuthenticateData
type Static = AuthenticateData
The target type is bounded by the
'static
lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.Source§impl PartialEq for AuthenticateData
impl PartialEq for AuthenticateData
Source§impl Serialize for AuthenticateData
impl Serialize for AuthenticateData
Source§impl ToBoundedStatic for AuthenticateData
impl ToBoundedStatic for AuthenticateData
impl Eq for AuthenticateData
impl StructuralPartialEq for AuthenticateData
Auto Trait Implementations§
impl Freeze for AuthenticateData
impl RefUnwindSafe for AuthenticateData
impl Send for AuthenticateData
impl Sync for AuthenticateData
impl Unpin for AuthenticateData
impl UnwindSafe for AuthenticateData
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