pub struct TransferRequest {
pub reference: String,
pub amount: Money,
pub to: Account,
pub description: String,
}Fields§
§reference: StringThe application’s id, for matching the result — and for the gateway to refuse a second transfer with the same one, which is the protection against a retry paying somebody twice.
amount: Money§to: Account§description: StringImplementations§
Trait Implementations§
Source§impl Clone for TransferRequest
impl Clone for TransferRequest
Source§impl Debug for TransferRequest
impl Debug for TransferRequest
impl Eq for TransferRequest
Source§impl PartialEq for TransferRequest
impl PartialEq for TransferRequest
impl StructuralPartialEq for TransferRequest
Auto Trait Implementations§
impl Freeze for TransferRequest
impl RefUnwindSafe for TransferRequest
impl Send for TransferRequest
impl Sync for TransferRequest
impl Unpin for TransferRequest
impl UnsafeUnpin for TransferRequest
impl UnwindSafe for TransferRequest
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