pub struct WithdrawalRequest { /* private fields */ }Expand description
Request body for [Funding::withdrawal].
Implementations§
Source§impl WithdrawalRequest
impl WithdrawalRequest
Sourcepub fn new(
ccy: impl Into<String>,
amt: impl Into<String>,
dest: impl Into<String>,
to_addr: impl Into<String>,
) -> Self
pub fn new( ccy: impl Into<String>, amt: impl Into<String>, dest: impl Into<String>, to_addr: impl Into<String>, ) -> Self
Create a withdrawal request.
Sourcepub fn area_code(self, area_code: impl Into<String>) -> Self
pub fn area_code(self, area_code: impl Into<String>) -> Self
Set phone area code for internal withdrawals.
Sourcepub fn to_addr_type(self, to_addr_type: impl Into<String>) -> Self
pub fn to_addr_type(self, to_addr_type: impl Into<String>) -> Self
Set address type.
Trait Implementations§
Source§impl Clone for WithdrawalRequest
impl Clone for WithdrawalRequest
Source§fn clone(&self) -> WithdrawalRequest
fn clone(&self) -> WithdrawalRequest
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 WithdrawalRequest
impl Debug for WithdrawalRequest
Auto Trait Implementations§
impl Freeze for WithdrawalRequest
impl RefUnwindSafe for WithdrawalRequest
impl Send for WithdrawalRequest
impl Sync for WithdrawalRequest
impl Unpin for WithdrawalRequest
impl UnsafeUnpin for WithdrawalRequest
impl UnwindSafe for WithdrawalRequest
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