Struct imap_codec::auth::AuthenticateData
source · pub struct AuthenticateData(pub Secret<Vec<u8, Global>>);
Tuple Fields§
§0: Secret<Vec<u8, Global>>
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for AuthenticateData
impl<'arbitrary> Arbitrary<'arbitrary> for AuthenticateData
source§fn arbitrary(
u: &mut Unstructured<'arbitrary>
) -> Result<AuthenticateData, Error>
fn arbitrary( u: &mut Unstructured<'arbitrary> ) -> Result<AuthenticateData, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(
u: Unstructured<'arbitrary>
) -> Result<AuthenticateData, Error>
fn arbitrary_take_rest( u: Unstructured<'arbitrary> ) -> Result<AuthenticateData, Error>
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<'a> Decode<'a> for AuthenticateData
impl<'a> Decode<'a> for AuthenticateData
source§impl<'a> DecodeStatic for AuthenticateData
impl<'a> DecodeStatic for AuthenticateData
source§impl<'de> Deserialize<'de> for AuthenticateData
impl<'de> Deserialize<'de> for AuthenticateData
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AuthenticateData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AuthenticateData, <__D as Deserializer<'de>>::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) -> <AuthenticateData as IntoBoundedStatic>::Static
fn into_static(self) -> <AuthenticateData as IntoBoundedStatic>::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§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToBoundedStatic for AuthenticateData
impl ToBoundedStatic for AuthenticateData
§type Static = AuthenticateData
type Static = AuthenticateData
The target type is bounded by the
'static
lifetime.source§fn to_static(&self) -> <AuthenticateData as ToBoundedStatic>::Static
fn to_static(&self) -> <AuthenticateData as ToBoundedStatic>::Static
Convert an
&T
to an owned T
such that T: 'static
.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