pub struct MaxBorrowable {
pub currency: String,
pub amount: f64,
pub borrow_limit: Option<f64>,
pub symbol: Option<String>,
pub timestamp: i64,
pub datetime: String,
pub info: Value,
}Expand description
Maximum borrowable amount information.
Contains details about the maximum amount that can be borrowed for margin trading.
Fields§
§currency: StringCurrency code.
amount: f64Maximum borrowable amount.
borrow_limit: Option<f64>Borrow limit (if applicable).
symbol: Option<String>Trading pair symbol (isolated margin only).
timestamp: i64Query timestamp in milliseconds.
datetime: StringISO 8601 datetime string.
info: ValueRaw exchange response data.
Trait Implementations§
Source§impl Clone for MaxBorrowable
impl Clone for MaxBorrowable
Source§fn clone(&self) -> MaxBorrowable
fn clone(&self) -> MaxBorrowable
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 MaxBorrowable
impl Debug for MaxBorrowable
Source§impl<'de> Deserialize<'de> for MaxBorrowable
impl<'de> Deserialize<'de> for MaxBorrowable
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MaxBorrowable, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MaxBorrowable, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MaxBorrowable
impl Serialize for MaxBorrowable
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MaxBorrowable
impl RefUnwindSafe for MaxBorrowable
impl Send for MaxBorrowable
impl Sync for MaxBorrowable
impl Unpin for MaxBorrowable
impl UnwindSafe for MaxBorrowable
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