pub struct SetAccountCurrencyRequest {
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub set_account_currency: String,
}
Expand description
Set account currency, this will be default currency for your account i.e currency for trading, deposit. Please note that account currency can only be set once, and then can never be changed.
Fields§
§loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\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
set_account_currency: String
Currency of the account. List of supported currencies can be acquired with payout_currencies
call.\n
Trait Implementations§
Source§impl Clone for SetAccountCurrencyRequest
impl Clone for SetAccountCurrencyRequest
Source§fn clone(&self) -> SetAccountCurrencyRequest
fn clone(&self) -> SetAccountCurrencyRequest
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 SetAccountCurrencyRequest
impl Debug for SetAccountCurrencyRequest
Source§impl<'de> Deserialize<'de> for SetAccountCurrencyRequest
impl<'de> Deserialize<'de> for SetAccountCurrencyRequest
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 SetAccountCurrencyRequest
impl RefUnwindSafe for SetAccountCurrencyRequest
impl Send for SetAccountCurrencyRequest
impl Sync for SetAccountCurrencyRequest
impl Unpin for SetAccountCurrencyRequest
impl UnwindSafe for SetAccountCurrencyRequest
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