Struct authy::api::phone::PhoneStart
source · pub struct PhoneStart {
pub carrier: String,
pub is_cellphone: bool,
pub message: String,
pub seconds_to_expire: u16,
pub uuid: Option<String>,
pub success: bool,
}
Expand description
Returned when initiating verification of a phone number.
Fields
carrier: String
is_cellphone: bool
message: String
seconds_to_expire: u16
uuid: Option<String>
success: bool
Trait Implementations
sourceimpl Clone for PhoneStart
impl Clone for PhoneStart
sourcefn clone(&self) -> PhoneStart
fn clone(&self) -> PhoneStart
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 PhoneStart
impl Debug for PhoneStart
sourceimpl<'de> Deserialize<'de> for PhoneStart
impl<'de> Deserialize<'de> for PhoneStart
sourcefn 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
sourceimpl PartialEq<PhoneStart> for PhoneStart
impl PartialEq<PhoneStart> for PhoneStart
sourcefn eq(&self, other: &PhoneStart) -> bool
fn eq(&self, other: &PhoneStart) -> bool
sourceimpl Serialize for PhoneStart
impl Serialize for PhoneStart
impl Eq for PhoneStart
impl StructuralEq for PhoneStart
impl StructuralPartialEq for PhoneStart
Auto Trait Implementations
impl RefUnwindSafe for PhoneStart
impl Send for PhoneStart
impl Sync for PhoneStart
impl Unpin for PhoneStart
impl UnwindSafe for PhoneStart
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.