pub struct EnableInput {
pub password: String,
pub issuer: Option<String>,
}Expand description
Body of /two-factor/enable.
Fields§
§password: String§issuer: Option<String>Overrides the configured issuer in the TOTP URI.
Trait Implementations§
Source§impl Debug for EnableInput
impl Debug for EnableInput
Source§impl<'de> Deserialize<'de> for EnableInput
impl<'de> Deserialize<'de> for EnableInput
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 Forget for EnableInput
impl Freeze for EnableInput
impl Move for EnableInput
impl RefUnwindSafe for EnableInput
impl Send for EnableInput
impl Sync for EnableInput
impl Unpin for EnableInput
impl UnsafeUnpin for EnableInput
impl UnwindSafe for EnableInput
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