#[non_exhaustive]pub struct FundingRate {
pub symbol: String,
pub funding_time: u64,
pub funding_rate: Decimal,
pub mark_price: Option<Decimal>,
pub rate_type: String,
}Expand description
One row of GET /fapi/v1/fundingRate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: StringThe contract.
funding_time: u64When funding was paid.
funding_rate: DecimalThe rate paid.
mark_price: Option<Decimal>The mark price at funding. None for events before about 2022, which
the wire sends as "".
rate_type: StringRegular on every row seen on 2026-10-07.
Trait Implementations§
Source§impl Clone for FundingRate
impl Clone for FundingRate
Source§impl Debug for FundingRate
impl Debug for FundingRate
Source§impl<'de> Deserialize<'de> for FundingRate
impl<'de> Deserialize<'de> for FundingRate
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
impl Eq for FundingRate
Source§impl PartialEq for FundingRate
impl PartialEq for FundingRate
Source§impl Serialize for FundingRate
impl Serialize for FundingRate
impl StructuralPartialEq for FundingRate
Auto Trait Implementations§
impl Freeze for FundingRate
impl RefUnwindSafe for FundingRate
impl Send for FundingRate
impl Sync for FundingRate
impl Unpin for FundingRate
impl UnsafeUnpin for FundingRate
impl UnwindSafe for FundingRate
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