Enum plaid::api::mfa::Device [] [src]

pub enum Device {
    Email,
    Phone,
    Card,
}

Represents a device that can be used for multifactor authentication

Variants

Email

Code sent to the user's email

Phone

Code sent to the user's phone number via sms

Card

Verify a credit card number

Trait Implementations

impl Decodable for Device

fn decode<D: Decoder>(decoder: &mut D) -> Result<Device, D::Error>

impl Encodable for Device

fn encode<E: Encoder>(&self, e: &mut E) -> Result<(), E::Error>

Derived Implementations

impl Clone for Device

fn clone(&self) -> Device

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Device

impl PartialEq for Device

fn eq(&self, __arg_0: &Device) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Eq for Device

impl Debug for Device

fn fmt(&self, __arg_0: &mut Formatter) -> Result