pub enum TanProcess {
OneStep,
TwoStep,
}Available on non-crate feature
tooling only.Expand description
“TAN-Prozess” of a two-step method (PIN/TAN document, HITANS).
Variants§
OneStep
Process 1: the TAN goes into the same message as the order.
TwoStep
Process 2 (also 3 and 4 of older versions): order first, TAN in a later message.
Implementations§
Source§impl TanProcess
impl TanProcess
Sourcepub fn from_str_val(code: &str) -> Self
pub fn from_str_val(code: &str) -> Self
From the HITANS code: 1 is one message, anything else two.
Trait Implementations§
Source§impl Clone for TanProcess
impl Clone for TanProcess
Source§impl Debug for TanProcess
impl Debug for TanProcess
Source§impl<'de> Deserialize<'de> for TanProcess
impl<'de> Deserialize<'de> for TanProcess
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 Eq for TanProcess
Source§impl PartialEq for TanProcess
impl PartialEq for TanProcess
Source§impl Serialize for TanProcess
impl Serialize for TanProcess
impl StructuralPartialEq for TanProcess
Auto Trait Implementations§
impl Forget for TanProcess
impl Freeze for TanProcess
impl Move for TanProcess
impl RefUnwindSafe for TanProcess
impl Send for TanProcess
impl Sync for TanProcess
impl Unpin for TanProcess
impl UnsafeUnpin for TanProcess
impl UnwindSafe for TanProcess
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