pub struct ErrorMessage {
pub message_type: MessageType,
pub message_version: MessageVersion,
pub error_code: String,
pub error_description: String,
pub error_detail: String,
pub error_message_type: String,
pub three_ds_server_trans_id: Option<String>,
pub acs_trans_id: Option<String>,
pub ds_trans_id: Option<String>,
pub sdk_trans_id: Option<String>,
}Expand description
EMV 3DS Error Message.
Sent by any component (3DS Server, DS, ACS) to indicate a protocol error. A received ErrorMessage should abort the current transaction.
Fields§
§message_type: MessageType§message_version: MessageVersion§error_code: StringThree-digit code; see EMVCo spec Table A.5.
error_description: StringHuman-readable description of the error.
error_detail: StringDetail about the specific field that caused the error.
error_message_type: StringThe messageType of the message that caused this error.
three_ds_server_trans_id: Option<String>Transaction ID of the erroring message.
acs_trans_id: Option<String>§ds_trans_id: Option<String>§sdk_trans_id: Option<String>Trait Implementations§
Source§impl Clone for ErrorMessage
impl Clone for ErrorMessage
Source§fn clone(&self) -> ErrorMessage
fn clone(&self) -> ErrorMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ErrorMessage
impl Debug for ErrorMessage
Source§impl<'de> Deserialize<'de> for ErrorMessage
impl<'de> Deserialize<'de> for ErrorMessage
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 ErrorMessage
impl RefUnwindSafe for ErrorMessage
impl Send for ErrorMessage
impl Sync for ErrorMessage
impl Unpin for ErrorMessage
impl UnsafeUnpin for ErrorMessage
impl UnwindSafe for ErrorMessage
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