pub enum OtpVariant {
Cells,
Joined,
Underline,
Other(String),
}Expand description
An otp’s look.
Variants§
Cells
One cell per character (the default).
Joined
Each group one field split into cells.
Underline
Digits over rules, no boxes.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for OtpVariant
impl Clone for OtpVariant
Source§impl Debug for OtpVariant
impl Debug for OtpVariant
Source§impl Display for OtpVariant
impl Display for OtpVariant
impl Eq for OtpVariant
Source§impl From<&str> for OtpVariant
impl From<&str> for OtpVariant
Source§impl From<String> for OtpVariant
impl From<String> for OtpVariant
Source§impl Hash for OtpVariant
impl Hash for OtpVariant
Source§impl PartialEq for OtpVariant
impl PartialEq for OtpVariant
Source§impl Serialize for OtpVariant
impl Serialize for OtpVariant
impl StructuralPartialEq for OtpVariant
Auto Trait Implementations§
impl Freeze for OtpVariant
impl RefUnwindSafe for OtpVariant
impl Send for OtpVariant
impl Sync for OtpVariant
impl Unpin for OtpVariant
impl UnsafeUnpin for OtpVariant
impl UnwindSafe for OtpVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.