pub struct TanRejected {
pub code: ReturnCode,
pub attempts_left: Option<u32>,
pub count: u32,
}Expand description
A typed TAN the bank rejected while keeping the order
(Dialog::submit_tan; docs/jobs-step-design.md §2).
Fields§
§code: ReturnCodeThe bank’s rejection to show, code and text (9941 “TAN ungültig”).
attempts_left: Option<u32>Further TANs the bank says it will check before it locks (9360 P1);
None when it does not say.
count: u32Wrong TANs for this order so far, from 1.
Trait Implementations§
Source§impl Clone for TanRejected
impl Clone for TanRejected
Source§impl Debug for TanRejected
impl Debug for TanRejected
Source§impl<'de> Deserialize<'de> for TanRejected
impl<'de> Deserialize<'de> for TanRejected
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 TanRejected
Source§impl PartialEq for TanRejected
impl PartialEq for TanRejected
Source§impl Serialize for TanRejected
impl Serialize for TanRejected
impl StructuralPartialEq for TanRejected
Auto Trait Implementations§
impl Forget for TanRejected
impl Freeze for TanRejected
impl Move for TanRejected
impl RefUnwindSafe for TanRejected
impl Send for TanRejected
impl Sync for TanRejected
impl Unpin for TanRejected
impl UnsafeUnpin for TanRejected
impl UnwindSafe for TanRejected
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