pub enum TanProcess {
OneStep,
TwoStep,
}Expand description
TAN process as defined by FinTS spec.
Variants§
OneStep
One-step: TAN entered with the business message.
TwoStep
Two-step: business message first, then TAN in a second message.
Implementations§
Source§impl TanProcess
impl TanProcess
pub fn from_str_val(s: &str) -> Self
Trait Implementations§
Source§impl Clone for TanProcess
impl Clone for TanProcess
Source§fn clone(&self) -> TanProcess
fn clone(&self) -> TanProcess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
Source§impl PartialEq for TanProcess
impl PartialEq for TanProcess
Source§impl Serialize for TanProcess
impl Serialize for TanProcess
impl Eq for TanProcess
impl StructuralPartialEq for TanProcess
Auto Trait Implementations§
impl Freeze 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