pub enum ResponseCodeKind {
Show 23 variants
MessageReceived,
OrderExecuted,
TanRequired,
DialogEnded,
TanValid,
Touchdown(TouchdownPoint),
PartialWarnings,
ScaExemption,
AllowedSecurityFunctions(Vec<SecurityFunction>),
DecoupledInitiated,
DecoupledPending,
GeneralError,
AuthenticationMissing,
PartialErrors,
UnexpectedInSync,
DataElementMissing,
PinWrong,
DialogAborted,
AccountLocked,
OtherSuccess(String),
OtherWarning(String),
OtherError(String),
Unknown(String),
}Expand description
Classified response code with typed parameters.
The parameters are embedded in the variant — no raw Vec<String>.
Variants§
MessageReceived
0010 — Message received.
OrderExecuted
0020 — Order executed.
TanRequired
0030 — Order received, TAN required.
DialogEnded
0100 — Dialog ended.
TanValid
0900 — TAN valid.
Touchdown(TouchdownPoint)
3040 — More data available. Contains the touchdown point.
PartialWarnings
3060 — Partial warnings.
ScaExemption
3076 — No strong authentication required (SCA exemption).
AllowedSecurityFunctions(Vec<SecurityFunction>)
3920 — Allowed security functions. Contains the list.
DecoupledInitiated
3955 — Decoupled TAN initiated (confirm in app).
DecoupledPending
3956 — Decoupled TAN not yet confirmed.
GeneralError
9010 — General error.
AuthenticationMissing
9040 — Authentication missing.
PartialErrors
9050 — Partial errors.
UnexpectedInSync
9110 — Unexpected order in sync dialog.
DataElementMissing
9160 — Data element missing.
PinWrong
9340 — PIN wrong.
DialogAborted
9800 — Dialog aborted.
AccountLocked
9942 — Account/user locked.
OtherSuccess(String)
Other success code (0xxx).
OtherWarning(String)
Other warning code (3xxx).
OtherError(String)
Other error code (9xxx).
Unknown(String)
Unrecognized code.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseCodeKind
impl Clone for ResponseCodeKind
Source§fn clone(&self) -> ResponseCodeKind
fn clone(&self) -> ResponseCodeKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more