Struct plaid_openapi::MFA
source · [−]pub struct MFA {
pub type_: String,
pub question_rounds: f64,
pub questions_per_round: f64,
pub selection_rounds: f64,
pub selections_per_question: f64,
}Fields
type_: StringPossible values are device, selections, or questions.
If value is device, the MFA answer is 1234.
If value is selections, the MFA answer is always the first option.
If value is questions, the MFA answer is answer_<i>_<j> for the j-th question in the i-th round, starting from 0. For example, the answer to the first question in the second round is answer_1_0.
question_rounds: f64Number of rounds of questions. Required if value of type is questions.
questions_per_round: f64Number of questions per round. Required if value of type is questions. If value of type is selections, default value is 2.
selection_rounds: f64Number of rounds of selections, used if type is selections. Defaults to 1.
selections_per_question: f64Number of available answers per question, used if type is selection. Defaults to 2.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for MFA
impl<'de> Deserialize<'de> for MFA
sourcefn 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 RefUnwindSafe for MFA
impl Send for MFA
impl Sync for MFA
impl Unpin for MFA
impl UnwindSafe for MFA
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more