pub struct IsolatedBorrowRate {
pub symbol: String,
pub base: String,
pub base_rate: f64,
pub quote: String,
pub quote_rate: f64,
pub period: i64,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub info: Value,
}Expand description
Isolated borrow rate information for margin trading
Fields§
§symbol: StringTrading symbol (e.g., “BTC/USDT”)
base: StringBase currency code
base_rate: f64Base currency daily interest rate
quote: StringQuote currency code
quote_rate: f64Quote currency daily interest rate
period: i64Period in milliseconds (typically 86400000 for 1 day)
timestamp: Option<i64>Timestamp in milliseconds
datetime: Option<String>ISO 8601 datetime string
info: ValueRaw response data from the exchange
Implementations§
Trait Implementations§
Source§impl Clone for IsolatedBorrowRate
impl Clone for IsolatedBorrowRate
Source§fn clone(&self) -> IsolatedBorrowRate
fn clone(&self) -> IsolatedBorrowRate
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 IsolatedBorrowRate
impl Debug for IsolatedBorrowRate
Source§impl<'de> Deserialize<'de> for IsolatedBorrowRate
impl<'de> Deserialize<'de> for IsolatedBorrowRate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IsolatedBorrowRate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IsolatedBorrowRate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IsolatedBorrowRate
impl PartialEq for IsolatedBorrowRate
Source§impl Serialize for IsolatedBorrowRate
impl Serialize for IsolatedBorrowRate
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
impl StructuralPartialEq for IsolatedBorrowRate
Auto Trait Implementations§
impl Freeze for IsolatedBorrowRate
impl RefUnwindSafe for IsolatedBorrowRate
impl Send for IsolatedBorrowRate
impl Sync for IsolatedBorrowRate
impl Unpin for IsolatedBorrowRate
impl UnwindSafe for IsolatedBorrowRate
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