Struct imap_types::auth::AuthenticateData
source · 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§impl Clone for AuthenticateData
impl Clone for AuthenticateData
source§fn clone(&self) -> AuthenticateData
fn clone(&self) -> AuthenticateData
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 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
§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<AuthenticateData> for AuthenticateData
impl PartialEq<AuthenticateData> for AuthenticateData
source§fn eq(&self, other: &AuthenticateData) -> bool
fn eq(&self, other: &AuthenticateData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuthenticateData
impl Serialize for AuthenticateData
source§impl ToBoundedStatic for AuthenticateData
impl ToBoundedStatic for AuthenticateData
impl Eq for AuthenticateData
impl StructuralEq for AuthenticateData
impl StructuralPartialEq for AuthenticateData
Auto Trait Implementations§
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