pub struct AuthenticationCodeInfo {
pub phone_number: String,
pub type_: AuthenticationCodeType,
pub next_type: Option<AuthenticationCodeType>,
pub timeout: i32,
}
Expand description
Information about the authentication code that was sent
Fields§
§phone_number: String
A phone number that is being authenticated
type_: AuthenticationCodeType
Describes the way the code was sent to the user
next_type: Option<AuthenticationCodeType>
Describes the way the next code will be sent to the user; may be null
timeout: i32
Timeout before the code should be re-sent, in seconds
Trait Implementations§
Source§impl Clone for AuthenticationCodeInfo
impl Clone for AuthenticationCodeInfo
Source§fn clone(&self) -> AuthenticationCodeInfo
fn clone(&self) -> AuthenticationCodeInfo
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 Debug for AuthenticationCodeInfo
impl Debug for AuthenticationCodeInfo
Source§impl<'de> Deserialize<'de> for AuthenticationCodeInfo
impl<'de> Deserialize<'de> for AuthenticationCodeInfo
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
Auto Trait Implementations§
impl Freeze for AuthenticationCodeInfo
impl RefUnwindSafe for AuthenticationCodeInfo
impl Send for AuthenticationCodeInfo
impl Sync for AuthenticationCodeInfo
impl Unpin for AuthenticationCodeInfo
impl UnwindSafe for AuthenticationCodeInfo
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