pub struct FundingFee {
pub info: Value,
pub symbol: String,
pub income: f64,
pub asset: String,
pub time: i64,
pub datetime: Option<String>,
pub funding_rate: Option<f64>,
pub mark_price: Option<f64>,
}Expand description
Personal funding fee record.
Contains user-specific funding fee income or payment information.
Fields§
§info: ValueRaw exchange response data.
symbol: StringTrading pair symbol.
income: f64Funding fee income (positive = income, negative = payment).
asset: StringAsset type (e.g., USDT).
time: i64Timestamp.
datetime: Option<String>Datetime string in ISO 8601 format.
funding_rate: Option<f64>Funding rate at that time.
mark_price: Option<f64>Mark price.
Trait Implementations§
Source§impl Clone for FundingFee
impl Clone for FundingFee
Source§fn clone(&self) -> FundingFee
fn clone(&self) -> FundingFee
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 FundingFee
impl Debug for FundingFee
Source§impl Default for FundingFee
impl Default for FundingFee
Source§fn default() -> FundingFee
fn default() -> FundingFee
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FundingFee
impl<'de> Deserialize<'de> for FundingFee
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FundingFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FundingFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FundingFee
impl Serialize for FundingFee
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 FundingFee
impl RefUnwindSafe for FundingFee
impl Send for FundingFee
impl Sync for FundingFee
impl Unpin for FundingFee
impl UnwindSafe for FundingFee
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