pub struct Mt5WithdrawalRequest {
pub amount: String,
pub from_mt5: String,
pub loginid: Option<String>,
pub mt5_withdrawal: i64,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub to_binary: String,
}
Expand description
This call allows withdrawal from MT5 account to Binary account.
Fields§
§amount: String
Amount to withdraw (in the currency of the MT5 account); min = $1 or an equivalent amount, max = $20000 or an equivalent amount.\n
from_mt5: String
MT5 account login to withdraw money from\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
mt5_withdrawal: i64
Must be 1
\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
to_binary: String
Binary account loginid to transfer money to\n
Trait Implementations§
Source§impl Clone for Mt5WithdrawalRequest
impl Clone for Mt5WithdrawalRequest
Source§fn clone(&self) -> Mt5WithdrawalRequest
fn clone(&self) -> Mt5WithdrawalRequest
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 Mt5WithdrawalRequest
impl Debug for Mt5WithdrawalRequest
Source§impl<'de> Deserialize<'de> for Mt5WithdrawalRequest
impl<'de> Deserialize<'de> for Mt5WithdrawalRequest
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
Auto Trait Implementations§
impl Freeze for Mt5WithdrawalRequest
impl RefUnwindSafe for Mt5WithdrawalRequest
impl Send for Mt5WithdrawalRequest
impl Sync for Mt5WithdrawalRequest
impl Unpin for Mt5WithdrawalRequest
impl UnwindSafe for Mt5WithdrawalRequest
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