pub struct PaymentData {
pub description: Option<String>,
pub metadata: Option<HashMap<String, String>>,
}Fields§
§description: Option<String>An arbitrary string attached to the destination payment. Often useful for displaying to users.
metadata: Option<HashMap<String, String>>Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Trait Implementations§
Source§impl Clone for PaymentData
impl Clone for PaymentData
Source§fn clone(&self) -> PaymentData
fn clone(&self) -> PaymentData
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 PaymentData
impl Debug for PaymentData
Source§impl Deserialize for PaymentData
impl Deserialize for PaymentData
Source§impl FromValueOpt for PaymentData
impl FromValueOpt for PaymentData
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for PaymentData
impl ObjectDeser for PaymentData
type Builder = PaymentDataBuilder
Auto Trait Implementations§
impl Freeze for PaymentData
impl RefUnwindSafe for PaymentData
impl Send for PaymentData
impl Sync for PaymentData
impl Unpin for PaymentData
impl UnsafeUnpin for PaymentData
impl UnwindSafe for PaymentData
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