pub struct WithdrawalRequestData {
pub payment_method: Option<String>,
pub qty: Option<f32>,
}Fields§
§payment_method: Option<String>The payment method (cryptocode + network) of the withdrawal.
qty: Option<f32>The qty to withdraw.
Implementations§
Source§impl WithdrawalRequestData
impl WithdrawalRequestData
pub fn new() -> WithdrawalRequestData
Trait Implementations§
Source§impl Clone for WithdrawalRequestData
impl Clone for WithdrawalRequestData
Source§fn clone(&self) -> WithdrawalRequestData
fn clone(&self) -> WithdrawalRequestData
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 WithdrawalRequestData
impl Debug for WithdrawalRequestData
Source§impl Default for WithdrawalRequestData
impl Default for WithdrawalRequestData
Source§fn default() -> WithdrawalRequestData
fn default() -> WithdrawalRequestData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WithdrawalRequestData
impl<'de> Deserialize<'de> for WithdrawalRequestData
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 WithdrawalRequestData
impl PartialEq for WithdrawalRequestData
Source§impl Serialize for WithdrawalRequestData
impl Serialize for WithdrawalRequestData
impl StructuralPartialEq for WithdrawalRequestData
Auto Trait Implementations§
impl Freeze for WithdrawalRequestData
impl RefUnwindSafe for WithdrawalRequestData
impl Send for WithdrawalRequestData
impl Sync for WithdrawalRequestData
impl Unpin for WithdrawalRequestData
impl UnwindSafe for WithdrawalRequestData
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