pub struct TanMethod {
pub security_function: SecurityFunction,
pub tan_process: TanProcess,
pub name: String,
pub needs_tan_medium: bool,
pub decoupled_max_polls: i32,
pub wait_before_first_poll: i32,
pub wait_before_next_poll: i32,
pub is_decoupled: bool,
pub hktan_version: u16,
}Expand description
A TAN method as reported by the bank in HITANS.
Fields§
§security_function: SecurityFunctionSecurity function code (e.g. “912” for pushTAN)
tan_process: TanProcessTAN process type.
name: StringHuman-readable name (e.g. “pushTAN-2.0”)
needs_tan_medium: boolWhether TAN medium name must be sent
decoupled_max_polls: i32Maximum number of decoupled polls (-1 = unlimited)
wait_before_first_poll: i32Seconds to wait before first decoupled poll
wait_before_next_poll: i32Seconds to wait between decoupled polls
is_decoupled: boolWhether this is a decoupled method
hktan_version: u16HKTAN version
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TanMethod
impl<'de> Deserialize<'de> for TanMethod
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
Auto Trait Implementations§
impl Freeze for TanMethod
impl RefUnwindSafe for TanMethod
impl Send for TanMethod
impl Sync for TanMethod
impl Unpin for TanMethod
impl UnsafeUnpin for TanMethod
impl UnwindSafe for TanMethod
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