pub struct EmailAddressResetStateAvailable {
pub wait_period: i32,
}
Expand description
Email address can be reset after the given period. Call resetAuthenticationEmailAddress to reset it and allow the user to authorize with a code sent to the user’s phone number
Fields§
§wait_period: i32
Time required to wait before the email address can be reset; 0 if the user is subscribed to Telegram Premium
Trait Implementations§
Source§impl Clone for EmailAddressResetStateAvailable
impl Clone for EmailAddressResetStateAvailable
Source§fn clone(&self) -> EmailAddressResetStateAvailable
fn clone(&self) -> EmailAddressResetStateAvailable
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 EmailAddressResetStateAvailable
impl Default for EmailAddressResetStateAvailable
Source§fn default() -> EmailAddressResetStateAvailable
fn default() -> EmailAddressResetStateAvailable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailAddressResetStateAvailable
impl<'de> Deserialize<'de> for EmailAddressResetStateAvailable
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 EmailAddressResetStateAvailable
impl PartialEq for EmailAddressResetStateAvailable
Source§fn eq(&self, other: &EmailAddressResetStateAvailable) -> bool
fn eq(&self, other: &EmailAddressResetStateAvailable) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EmailAddressResetStateAvailable
Auto Trait Implementations§
impl Freeze for EmailAddressResetStateAvailable
impl RefUnwindSafe for EmailAddressResetStateAvailable
impl Send for EmailAddressResetStateAvailable
impl Sync for EmailAddressResetStateAvailable
impl Unpin for EmailAddressResetStateAvailable
impl UnwindSafe for EmailAddressResetStateAvailable
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