pub struct Mt5DepositRequest {
pub amount: Option<String>,
pub from_binary: Option<String>,
pub loginid: Option<String>,
pub mt5_deposit: i64,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub to_mt5: String,
}
Expand description
This call allows deposit into MT5 account from Binary account.
Fields§
§amount: Option<String>
Amount to deposit (in the currency of from_binary); min = $1 or an equivalent amount, max = $20000 or an equivalent amount\n
from_binary: Option<String>
Binary account loginid to transfer money from\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
mt5_deposit: 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_mt5: String
MT5 account login to deposit money to\n
Trait Implementations§
Source§impl Clone for Mt5DepositRequest
impl Clone for Mt5DepositRequest
Source§fn clone(&self) -> Mt5DepositRequest
fn clone(&self) -> Mt5DepositRequest
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 Mt5DepositRequest
impl Debug for Mt5DepositRequest
Source§impl<'de> Deserialize<'de> for Mt5DepositRequest
impl<'de> Deserialize<'de> for Mt5DepositRequest
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 Mt5DepositRequest
impl RefUnwindSafe for Mt5DepositRequest
impl Send for Mt5DepositRequest
impl Sync for Mt5DepositRequest
impl Unpin for Mt5DepositRequest
impl UnwindSafe for Mt5DepositRequest
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