pub struct GoogleAuthenticatorUpdate {
pub enabled: Option<Boolean>,
pub secret_key: Option<String>,
}Expand description
Update struct corresponding to GoogleAuthenticator
Fields§
§enabled: Option<Boolean>§secret_key: Option<String>Implementations§
Source§impl GoogleAuthenticatorUpdate
impl GoogleAuthenticatorUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_enabled(self, v: Boolean) -> Self
pub fn with_secret_key(self, v: String) -> Self
Trait Implementations§
Source§impl Debug for GoogleAuthenticatorUpdate
impl Debug for GoogleAuthenticatorUpdate
Source§impl Default for GoogleAuthenticatorUpdate
impl Default for GoogleAuthenticatorUpdate
Source§fn default() -> GoogleAuthenticatorUpdate
fn default() -> GoogleAuthenticatorUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GoogleAuthenticatorUpdate
impl RefUnwindSafe for GoogleAuthenticatorUpdate
impl Send for GoogleAuthenticatorUpdate
impl Sync for GoogleAuthenticatorUpdate
impl Unpin for GoogleAuthenticatorUpdate
impl UnsafeUnpin for GoogleAuthenticatorUpdate
impl UnwindSafe for GoogleAuthenticatorUpdate
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