pub struct AccessTfaAddTfaEntryResponseData {
pub challenge: Option<String>,
pub id: String,
pub recovery: Option<Vec<String>>,
}Fields§
§challenge: Option<String>When adding u2f entries, this contains a challenge the user must respond to in order to finish the registration.
id: StringThe id of a newly added TFA entry.
recovery: Option<Vec<String>>When adding recovery codes, this contains the list of codes to be displayed to the user
Implementations§
Source§impl AccessTfaAddTfaEntryResponseData
impl AccessTfaAddTfaEntryResponseData
pub fn new(id: String) -> AccessTfaAddTfaEntryResponseData
Trait Implementations§
Source§impl Clone for AccessTfaAddTfaEntryResponseData
impl Clone for AccessTfaAddTfaEntryResponseData
Source§fn clone(&self) -> AccessTfaAddTfaEntryResponseData
fn clone(&self) -> AccessTfaAddTfaEntryResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccessTfaAddTfaEntryResponseData
impl Default for AccessTfaAddTfaEntryResponseData
Source§fn default() -> AccessTfaAddTfaEntryResponseData
fn default() -> AccessTfaAddTfaEntryResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessTfaAddTfaEntryResponseData
impl<'de> Deserialize<'de> for AccessTfaAddTfaEntryResponseData
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 AccessTfaAddTfaEntryResponseData
impl PartialEq for AccessTfaAddTfaEntryResponseData
Source§fn eq(&self, other: &AccessTfaAddTfaEntryResponseData) -> bool
fn eq(&self, other: &AccessTfaAddTfaEntryResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessTfaAddTfaEntryResponseData
Auto Trait Implementations§
impl Freeze for AccessTfaAddTfaEntryResponseData
impl RefUnwindSafe for AccessTfaAddTfaEntryResponseData
impl Send for AccessTfaAddTfaEntryResponseData
impl Sync for AccessTfaAddTfaEntryResponseData
impl Unpin for AccessTfaAddTfaEntryResponseData
impl UnsafeUnpin for AccessTfaAddTfaEntryResponseData
impl UnwindSafe for AccessTfaAddTfaEntryResponseData
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