pub struct OpenInterestSummary {
pub symbol: String,
pub list: Vec<OpenInterest>,
}Expand description
Summarizes open interest data for a trading pair.
Part of the OpenInterestResponse, this struct organizes open interest data by symbol and a list of records. It’s the primary container for open interest data used by bots to assess market dynamics in perpetual futures.
Fields§
§symbol: StringThe trading pair symbol (e.g., “BTCUSDT”).
Confirms the perpetual futures contract for the open interest data. Bots should verify this matches the requested symbol.
list: Vec<OpenInterest>A list of open interest records.
Contains the open interest data for each time interval, including quantity and timestamp. Bots use this to analyze trends in market participation and predict potential price volatility.
Trait Implementations§
Source§impl Clone for OpenInterestSummary
impl Clone for OpenInterestSummary
Source§fn clone(&self) -> OpenInterestSummary
fn clone(&self) -> OpenInterestSummary
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 OpenInterestSummary
impl Debug for OpenInterestSummary
Source§impl<'de> Deserialize<'de> for OpenInterestSummary
impl<'de> Deserialize<'de> for OpenInterestSummary
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 OpenInterestSummary
impl RefUnwindSafe for OpenInterestSummary
impl Send for OpenInterestSummary
impl Sync for OpenInterestSummary
impl Unpin for OpenInterestSummary
impl UnsafeUnpin for OpenInterestSummary
impl UnwindSafe for OpenInterestSummary
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