pub struct CryptoEstimationsRequest {
pub crypto_estimations: i64,
pub currency_code: String,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub subscribe: Option<i64>,
}
Expand description
Get the current estimations for cryptocurrencies. E.g. Withdrawal fee.
Fields§
§crypto_estimations: i64
Must be 1
\n
currency_code: String
Cryptocurrency code for which fee estimation is provided.\n
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
subscribe: Option<i64>
[Optional] If set to 1, will send updates whenever there is an update to crypto estimations.\n
Trait Implementations§
Source§impl Clone for CryptoEstimationsRequest
impl Clone for CryptoEstimationsRequest
Source§fn clone(&self) -> CryptoEstimationsRequest
fn clone(&self) -> CryptoEstimationsRequest
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 CryptoEstimationsRequest
impl Debug for CryptoEstimationsRequest
Source§impl<'de> Deserialize<'de> for CryptoEstimationsRequest
impl<'de> Deserialize<'de> for CryptoEstimationsRequest
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 CryptoEstimationsRequest
impl RefUnwindSafe for CryptoEstimationsRequest
impl Send for CryptoEstimationsRequest
impl Sync for CryptoEstimationsRequest
impl Unpin for CryptoEstimationsRequest
impl UnwindSafe for CryptoEstimationsRequest
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