#[repr(u8)]pub enum BackupCredentialType {
Messages = 1,
Media = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for BackupCredentialType
impl Clone for BackupCredentialType
Source§fn clone(&self) -> BackupCredentialType
fn clone(&self) -> BackupCredentialType
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 BackupCredentialType
impl Debug for BackupCredentialType
Source§impl<'de> Deserialize<'de> for BackupCredentialType
impl<'de> Deserialize<'de> for BackupCredentialType
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 From<BackupCredentialType> for u64
impl From<BackupCredentialType> for u64
Source§fn from(credential_type: BackupCredentialType) -> Self
fn from(credential_type: BackupCredentialType) -> Self
Converts to this type from the input type.
Source§impl PartialDefault for BackupCredentialType
impl PartialDefault for BackupCredentialType
Source§fn partial_default() -> Self
fn partial_default() -> Self
Returns a value that can be safely dropped or assigned over.
Source§impl PartialEq for BackupCredentialType
impl PartialEq for BackupCredentialType
Source§impl Serialize for BackupCredentialType
impl Serialize for BackupCredentialType
Source§impl TryFrom<u64> for BackupCredentialType
impl TryFrom<u64> for BackupCredentialType
Source§impl TryFrom<u8> for BackupCredentialType
impl TryFrom<u8> for BackupCredentialType
impl Copy for BackupCredentialType
impl Eq for BackupCredentialType
impl StructuralPartialEq for BackupCredentialType
Auto Trait Implementations§
impl Freeze for BackupCredentialType
impl RefUnwindSafe for BackupCredentialType
impl Send for BackupCredentialType
impl Sync for BackupCredentialType
impl Unpin for BackupCredentialType
impl UnwindSafe for BackupCredentialType
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more