pub struct AuthenticatorDuoChallenge {
pub type: ChallengeChoices,
pub flow_info: Option<Box<ContextualFlowInfo>>,
pub component: Option<String>,
pub response_errors: Option<HashMap<String, Vec<ErrorDetail>>>,
pub pending_user: String,
pub pending_user_avatar: String,
pub activation_barcode: String,
pub activation_code: String,
pub stage_uuid: String,
}
Expand description
AuthenticatorDuoChallenge : Duo Challenge
Fields§
§type: ChallengeChoices
§flow_info: Option<Box<ContextualFlowInfo>>
§component: Option<String>
§response_errors: Option<HashMap<String, Vec<ErrorDetail>>>
§pending_user: String
§pending_user_avatar: String
§activation_barcode: String
§activation_code: String
§stage_uuid: String
Implementations§
Source§impl AuthenticatorDuoChallenge
impl AuthenticatorDuoChallenge
Sourcepub fn new(
type: ChallengeChoices,
pending_user: String,
pending_user_avatar: String,
activation_barcode: String,
activation_code: String,
stage_uuid: String,
) -> AuthenticatorDuoChallenge
pub fn new( type: ChallengeChoices, pending_user: String, pending_user_avatar: String, activation_barcode: String, activation_code: String, stage_uuid: String, ) -> AuthenticatorDuoChallenge
Duo Challenge
Trait Implementations§
Source§impl Clone for AuthenticatorDuoChallenge
impl Clone for AuthenticatorDuoChallenge
Source§fn clone(&self) -> AuthenticatorDuoChallenge
fn clone(&self) -> AuthenticatorDuoChallenge
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 AuthenticatorDuoChallenge
impl Debug for AuthenticatorDuoChallenge
Source§impl Default for AuthenticatorDuoChallenge
impl Default for AuthenticatorDuoChallenge
Source§fn default() -> AuthenticatorDuoChallenge
fn default() -> AuthenticatorDuoChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorDuoChallenge
impl<'de> Deserialize<'de> for AuthenticatorDuoChallenge
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 AuthenticatorDuoChallenge
Auto Trait Implementations§
impl Freeze for AuthenticatorDuoChallenge
impl RefUnwindSafe for AuthenticatorDuoChallenge
impl Send for AuthenticatorDuoChallenge
impl Sync for AuthenticatorDuoChallenge
impl Unpin for AuthenticatorDuoChallenge
impl UnwindSafe for AuthenticatorDuoChallenge
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