Enum grammers_tl_types::enums::auth::CodeType
source · pub enum CodeType {
Sms,
Call,
FlashCall,
MissedCall,
FragmentSms,
}
Variants§
Trait Implementations§
source§impl Deserializable for CodeType
impl Deserializable for CodeType
source§impl From<CodeTypeCall> for CodeType
impl From<CodeTypeCall> for CodeType
source§fn from(_x: CodeTypeCall) -> Self
fn from(_x: CodeTypeCall) -> Self
Converts to this type from the input type.
source§impl From<CodeTypeFlashCall> for CodeType
impl From<CodeTypeFlashCall> for CodeType
source§fn from(_x: CodeTypeFlashCall) -> Self
fn from(_x: CodeTypeFlashCall) -> Self
Converts to this type from the input type.
source§impl From<CodeTypeFragmentSms> for CodeType
impl From<CodeTypeFragmentSms> for CodeType
source§fn from(_x: CodeTypeFragmentSms) -> Self
fn from(_x: CodeTypeFragmentSms) -> Self
Converts to this type from the input type.
source§impl From<CodeTypeMissedCall> for CodeType
impl From<CodeTypeMissedCall> for CodeType
source§fn from(_x: CodeTypeMissedCall) -> Self
fn from(_x: CodeTypeMissedCall) -> Self
Converts to this type from the input type.
source§impl From<CodeTypeSms> for CodeType
impl From<CodeTypeSms> for CodeType
source§fn from(_x: CodeTypeSms) -> Self
fn from(_x: CodeTypeSms) -> Self
Converts to this type from the input type.
source§impl PartialEq for CodeType
impl PartialEq for CodeType
source§impl Serializable for CodeType
impl Serializable for CodeType
source§impl TryFrom<CodeType> for CodeTypeCall
impl TryFrom<CodeType> for CodeTypeCall
source§impl TryFrom<CodeType> for CodeTypeFlashCall
impl TryFrom<CodeType> for CodeTypeFlashCall
source§impl TryFrom<CodeType> for CodeTypeFragmentSms
impl TryFrom<CodeType> for CodeTypeFragmentSms
source§impl TryFrom<CodeType> for CodeTypeMissedCall
impl TryFrom<CodeType> for CodeTypeMissedCall
source§impl TryFrom<CodeType> for CodeTypeSms
impl TryFrom<CodeType> for CodeTypeSms
impl StructuralPartialEq for CodeType
Auto Trait Implementations§
impl Freeze for CodeType
impl RefUnwindSafe for CodeType
impl Send for CodeType
impl Sync for CodeType
impl Unpin for CodeType
impl UnwindSafe for CodeType
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