pub struct NetworkTransactionReference {
pub id: String,
pub date: Option<String>,
pub network: Network,
}
Fields§
§id: String
Transaction reference id returned by the scheme. For Visa and Amex, this is the “Tran id” field in response. For MasterCard, this is the “BankNet reference id” field in response. For Discover, this is the “NRID” field in response.
date: Option<String>
The date that the transaction was authorized by the scheme. For MasterCard, this is the “BankNet reference date” field in response.
network: Network
Name of the card network through which the transaction was routed.
Trait Implementations§
Source§impl Clone for NetworkTransactionReference
impl Clone for NetworkTransactionReference
Source§fn clone(&self) -> NetworkTransactionReference
fn clone(&self) -> NetworkTransactionReference
Returns a copy of the value. Read more
1.0.0 · 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 NetworkTransactionReference
impl Debug for NetworkTransactionReference
Source§impl Default for NetworkTransactionReference
impl Default for NetworkTransactionReference
Source§fn default() -> NetworkTransactionReference
fn default() -> NetworkTransactionReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkTransactionReference
impl<'de> Deserialize<'de> for NetworkTransactionReference
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 NetworkTransactionReference
impl RefUnwindSafe for NetworkTransactionReference
impl Send for NetworkTransactionReference
impl Sync for NetworkTransactionReference
impl Unpin for NetworkTransactionReference
impl UnwindSafe for NetworkTransactionReference
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