pub struct OpenInterest {
pub long_oi: f64,
pub short_oi: f64,
}Expand description
Taker open interest for a perp market, in USDC.
Fields§
§long_oi: f64Total long open interest in USDC.
short_oi: f64Total short open interest in USDC.
Trait Implementations§
Source§impl Clone for OpenInterest
impl Clone for OpenInterest
Source§fn clone(&self) -> OpenInterest
fn clone(&self) -> OpenInterest
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 OpenInterest
impl Debug for OpenInterest
Source§impl PartialEq for OpenInterest
impl PartialEq for OpenInterest
impl Copy for OpenInterest
impl StructuralPartialEq for OpenInterest
Auto Trait Implementations§
impl Freeze for OpenInterest
impl RefUnwindSafe for OpenInterest
impl Send for OpenInterest
impl Sync for OpenInterest
impl Unpin for OpenInterest
impl UnsafeUnpin for OpenInterest
impl UnwindSafe for OpenInterest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more