pub struct SuggestedActionSetPassword {
pub authorization_delay: i32,
}
Expand description
Suggests the user to set a 2-step verification password to be able to log in again
Fields§
The number of days to pass between consecutive authorizations if the user declines to set password; if 0, then the user is advised to set the password for security reasons
Trait Implementations§
Source§impl Clone for SuggestedActionSetPassword
impl Clone for SuggestedActionSetPassword
Source§fn clone(&self) -> SuggestedActionSetPassword
fn clone(&self) -> SuggestedActionSetPassword
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 SuggestedActionSetPassword
impl Debug for SuggestedActionSetPassword
Source§impl Default for SuggestedActionSetPassword
impl Default for SuggestedActionSetPassword
Source§fn default() -> SuggestedActionSetPassword
fn default() -> SuggestedActionSetPassword
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SuggestedActionSetPassword
impl<'de> Deserialize<'de> for SuggestedActionSetPassword
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
impl StructuralPartialEq for SuggestedActionSetPassword
Auto Trait Implementations§
impl Freeze for SuggestedActionSetPassword
impl RefUnwindSafe for SuggestedActionSetPassword
impl Send for SuggestedActionSetPassword
impl Sync for SuggestedActionSetPassword
impl Unpin for SuggestedActionSetPassword
impl UnwindSafe for SuggestedActionSetPassword
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