pub struct AuthenticationCodeTypeSmsPhrase {
pub first_word: String,
}
Expand description
An authentication code is a phrase from multiple words delivered via an SMS message to the specified phone number; non-official applications may not receive this type of code
Fields§
§first_word: String
The first word of the phrase if known
Trait Implementations§
Source§impl Clone for AuthenticationCodeTypeSmsPhrase
impl Clone for AuthenticationCodeTypeSmsPhrase
Source§fn clone(&self) -> AuthenticationCodeTypeSmsPhrase
fn clone(&self) -> AuthenticationCodeTypeSmsPhrase
Returns a duplicate 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 Default for AuthenticationCodeTypeSmsPhrase
impl Default for AuthenticationCodeTypeSmsPhrase
Source§fn default() -> AuthenticationCodeTypeSmsPhrase
fn default() -> AuthenticationCodeTypeSmsPhrase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationCodeTypeSmsPhrase
impl<'de> Deserialize<'de> for AuthenticationCodeTypeSmsPhrase
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 PartialEq for AuthenticationCodeTypeSmsPhrase
impl PartialEq for AuthenticationCodeTypeSmsPhrase
Source§fn eq(&self, other: &AuthenticationCodeTypeSmsPhrase) -> bool
fn eq(&self, other: &AuthenticationCodeTypeSmsPhrase) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticationCodeTypeSmsPhrase
Auto Trait Implementations§
impl Freeze for AuthenticationCodeTypeSmsPhrase
impl RefUnwindSafe for AuthenticationCodeTypeSmsPhrase
impl Send for AuthenticationCodeTypeSmsPhrase
impl Sync for AuthenticationCodeTypeSmsPhrase
impl Unpin for AuthenticationCodeTypeSmsPhrase
impl UnwindSafe for AuthenticationCodeTypeSmsPhrase
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