Struct paypal_rust::resources::network_transaction_reference::NetworkTransactionReference
source · [−]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
sourceimpl Clone for NetworkTransactionReference
impl Clone for NetworkTransactionReference
sourcefn clone(&self) -> NetworkTransactionReference
fn clone(&self) -> NetworkTransactionReference
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NetworkTransactionReference
impl Debug for NetworkTransactionReference
sourceimpl Default for NetworkTransactionReference
impl Default for NetworkTransactionReference
sourcefn default() -> NetworkTransactionReference
fn default() -> NetworkTransactionReference
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NetworkTransactionReference
impl<'de> Deserialize<'de> for NetworkTransactionReference
sourcefn 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 RefUnwindSafe for NetworkTransactionReference
impl Send for NetworkTransactionReference
impl Sync for NetworkTransactionReference
impl Unpin for NetworkTransactionReference
impl UnwindSafe for NetworkTransactionReference
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more