pub struct PreAuthResult {Show 14 fields
pub outcome: TransactionOutcome,
pub result_code: String,
pub pan: Option<String>,
pub entry_mode: Option<TransactionEntryMode>,
pub auth_code: Option<String>,
pub pre_authorized_amount_cents: Option<i64>,
pub pre_auth_code: Option<String>,
pub action_code: Option<String>,
pub host_date_time: Option<String>,
pub card_type: Option<CardType>,
pub acquirer_id: Option<String>,
pub stan: Option<String>,
pub online_id: Option<String>,
pub error_description: Option<String>,
}Expand description
Pre-auth / incremental result.
Fields§
§outcome: TransactionOutcomeNormalized outcome.
result_code: StringRaw result code.
pan: Option<String>Masked PAN.
entry_mode: Option<TransactionEntryMode>Entry mode.
auth_code: Option<String>Authorization code.
Pre-authorized amount in cents.
pre_auth_code: Option<String>Pre-auth code (for follow-up incremental/closure).
action_code: Option<String>Action code.
host_date_time: Option<String>Raw host date/time.
card_type: Option<CardType>Card type.
acquirer_id: Option<String>Acquirer id.
stan: Option<String>STAN.
online_id: Option<String>Online id.
error_description: Option<String>Error description.
Trait Implementations§
Source§impl Clone for PreAuthResult
impl Clone for PreAuthResult
Source§fn clone(&self) -> PreAuthResult
fn clone(&self) -> PreAuthResult
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 PreAuthResult
impl Debug for PreAuthResult
Source§impl Default for PreAuthResult
impl Default for PreAuthResult
Source§fn default() -> PreAuthResult
fn default() -> PreAuthResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreAuthResult
impl<'de> Deserialize<'de> for PreAuthResult
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 PreAuthResult
impl PartialEq for PreAuthResult
Source§impl Serialize for PreAuthResult
impl Serialize for PreAuthResult
impl StructuralPartialEq for PreAuthResult
Auto Trait Implementations§
impl Freeze for PreAuthResult
impl RefUnwindSafe for PreAuthResult
impl Send for PreAuthResult
impl Sync for PreAuthResult
impl Unpin for PreAuthResult
impl UnsafeUnpin for PreAuthResult
impl UnwindSafe for PreAuthResult
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