Struct xrpl_api::PaymentTransaction
source · pub struct PaymentTransaction {
pub common: TransactionCommon,
pub flags: BitFlags<PaymentFlags>,
pub amount: Amount,
pub destination: String,
pub destination_tag: Option<u32>,
pub invoice_id: Option<String>,
pub send_max: Option<Amount>,
pub deliver_min: Option<Amount>,
}
Expand description
An Payment
transaction https://xrpl.org/payment.html
Fields§
§common: TransactionCommon
§flags: BitFlags<PaymentFlags>
§amount: Amount
§destination: String
§destination_tag: Option<u32>
§invoice_id: Option<String>
§send_max: Option<Amount>
§deliver_min: Option<Amount>
Trait Implementations§
source§impl Clone for PaymentTransaction
impl Clone for PaymentTransaction
source§fn clone(&self) -> PaymentTransaction
fn clone(&self) -> PaymentTransaction
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 PaymentTransaction
impl Debug for PaymentTransaction
source§impl<'de> Deserialize<'de> for PaymentTransaction
impl<'de> Deserialize<'de> for PaymentTransaction
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 PaymentTransaction
impl PartialEq for PaymentTransaction
source§fn eq(&self, other: &PaymentTransaction) -> bool
fn eq(&self, other: &PaymentTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaymentTransaction
impl Serialize for PaymentTransaction
impl StructuralPartialEq for PaymentTransaction
Auto Trait Implementations§
impl Freeze for PaymentTransaction
impl RefUnwindSafe for PaymentTransaction
impl Send for PaymentTransaction
impl Sync for PaymentTransaction
impl Unpin for PaymentTransaction
impl UnwindSafe for PaymentTransaction
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