pub struct PaymentInstructions {
pub type: Type,
pub address: AccountHolderDetails,
pub reference_id: String,
}Fields§
§type: Type§address: AccountHolderDetails§reference_id: StringImplementations§
Source§impl PaymentInstructions
impl PaymentInstructions
pub fn new( type: Type, address: AccountHolderDetails, reference_id: String, ) -> PaymentInstructions
Trait Implementations§
Source§impl Clone for PaymentInstructions
impl Clone for PaymentInstructions
Source§fn clone(&self) -> PaymentInstructions
fn clone(&self) -> PaymentInstructions
Returns a duplicate 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 PaymentInstructions
impl Debug for PaymentInstructions
Source§impl Default for PaymentInstructions
impl Default for PaymentInstructions
Source§fn default() -> PaymentInstructions
fn default() -> PaymentInstructions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentInstructions
impl<'de> Deserialize<'de> for PaymentInstructions
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 PaymentInstructions
impl PartialEq for PaymentInstructions
Source§impl Serialize for PaymentInstructions
impl Serialize for PaymentInstructions
impl StructuralPartialEq for PaymentInstructions
Auto Trait Implementations§
impl Freeze for PaymentInstructions
impl RefUnwindSafe for PaymentInstructions
impl Send for PaymentInstructions
impl Sync for PaymentInstructions
impl Unpin for PaymentInstructions
impl UnwindSafe for PaymentInstructions
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