pub enum OtpChannel {
Auto,
Sms,
Call,
Voice,
Whatsapp,
}Expand description
Channel used to deliver a one-time passcode.
Variants§
Auto
Lets Unimatrix select the delivery channel.
Sms
Delivers the code by SMS.
Call
Delivers the code using a phone call.
Voice
Delivers the code using a voice message.
Delivers the code using WhatsApp.
Trait Implementations§
Source§impl Clone for OtpChannel
impl Clone for OtpChannel
Source§fn clone(&self) -> OtpChannel
fn clone(&self) -> OtpChannel
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 moreimpl Copy for OtpChannel
Source§impl Debug for OtpChannel
impl Debug for OtpChannel
impl Eq for OtpChannel
Source§impl PartialEq for OtpChannel
impl PartialEq for OtpChannel
Source§impl Serialize for OtpChannel
impl Serialize for OtpChannel
impl StructuralPartialEq for OtpChannel
Auto Trait Implementations§
impl Freeze for OtpChannel
impl RefUnwindSafe for OtpChannel
impl Send for OtpChannel
impl Sync for OtpChannel
impl Unpin for OtpChannel
impl UnsafeUnpin for OtpChannel
impl UnwindSafe for OtpChannel
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