pub struct MfaTotpInitResponseBody {
pub totp_auth_url: String,
pub totp_secret: String,
}Expand description
The response body for initializing a TOTP MFA code.
JSON schema
{
"title": "MfaTotpInitResponseBody",
"description": "The response body for initializing a TOTP MFA code.",
"type": "object",
"required": [
"totpAuthUrl",
"totpSecret"
],
"properties": {
"totpAuthUrl": {
"type": "string"
},
"totpSecret": {
"type": "string"
}
}
}Fields§
§totp_auth_url: String§totp_secret: StringTrait Implementations§
Source§impl Clone for MfaTotpInitResponseBody
impl Clone for MfaTotpInitResponseBody
Source§fn clone(&self) -> MfaTotpInitResponseBody
fn clone(&self) -> MfaTotpInitResponseBody
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 MfaTotpInitResponseBody
impl Debug for MfaTotpInitResponseBody
Source§impl<'de> Deserialize<'de> for MfaTotpInitResponseBody
impl<'de> Deserialize<'de> for MfaTotpInitResponseBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MfaTotpInitResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MfaTotpInitResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MfaTotpInitResponseBody> for MfaTotpInitResponseBody
impl From<&MfaTotpInitResponseBody> for MfaTotpInitResponseBody
Source§fn from(value: &MfaTotpInitResponseBody) -> MfaTotpInitResponseBody
fn from(value: &MfaTotpInitResponseBody) -> MfaTotpInitResponseBody
Converts to this type from the input type.
Source§impl Serialize for MfaTotpInitResponseBody
impl Serialize for MfaTotpInitResponseBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MfaTotpInitResponseBody
impl RefUnwindSafe for MfaTotpInitResponseBody
impl Send for MfaTotpInitResponseBody
impl Sync for MfaTotpInitResponseBody
impl Unpin for MfaTotpInitResponseBody
impl UnwindSafe for MfaTotpInitResponseBody
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