Enum authy::api::phone::ContactType
source · pub enum ContactType {
SMS,
Call,
}
Expand description
The contact type used when verifying a phone number
Variants
SMS
Call
Trait Implementations
sourceimpl Clone for ContactType
impl Clone for ContactType
sourcefn clone(&self) -> ContactType
fn clone(&self) -> ContactType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContactType
impl Debug for ContactType
sourceimpl Display for ContactType
impl Display for ContactType
sourceimpl PartialEq<ContactType> for ContactType
impl PartialEq<ContactType> for ContactType
sourcefn eq(&self, other: &ContactType) -> bool
fn eq(&self, other: &ContactType) -> bool
impl Eq for ContactType
impl StructuralEq for ContactType
impl StructuralPartialEq for ContactType
Auto Trait Implementations
impl RefUnwindSafe for ContactType
impl Send for ContactType
impl Sync for ContactType
impl Unpin for ContactType
impl UnwindSafe for ContactType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.