pub struct FundingInfo {
pub adjusted_funding_rate_cap: Decimal,
pub adjusted_funding_rate_floor: Decimal,
pub funding_interval_hours: i32,
pub symbol: String,
}Expand description
funding rate metadata per symbol
JSON schema
{
"description": "funding rate metadata per symbol",
"type": "object",
"required": [
"adjustedFundingRateCap",
"adjustedFundingRateFloor",
"fundingIntervalHours",
"symbol"
],
"properties": {
"adjustedFundingRateCap": {
"type": "string",
"format": "decimal"
},
"adjustedFundingRateFloor": {
"type": "string",
"format": "decimal"
},
"fundingIntervalHours": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"symbol": {
"type": "string"
}
}
}Fields§
§adjusted_funding_rate_cap: Decimal§adjusted_funding_rate_floor: Decimal§funding_interval_hours: i32§symbol: StringTrait Implementations§
Source§impl Clone for FundingInfo
impl Clone for FundingInfo
Source§fn clone(&self) -> FundingInfo
fn clone(&self) -> FundingInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FundingInfo
impl Debug for FundingInfo
Source§impl<'de> Deserialize<'de> for FundingInfo
impl<'de> Deserialize<'de> for FundingInfo
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 FundingInfo
impl RefUnwindSafe for FundingInfo
impl Send for FundingInfo
impl Sync for FundingInfo
impl Unpin for FundingInfo
impl UnsafeUnpin for FundingInfo
impl UnwindSafe for FundingInfo
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