#[non_exhaustive]pub struct CotObservation {Show 17 fields
pub report_date: String,
pub open_interest: Option<i64>,
pub producer_merchant_long: Option<i64>,
pub producer_merchant_short: Option<i64>,
pub swap_dealer_long: Option<i64>,
pub swap_dealer_short: Option<i64>,
pub swap_dealer_spread: Option<i64>,
pub managed_money_long: Option<i64>,
pub managed_money_short: Option<i64>,
pub managed_money_spread: Option<i64>,
pub other_reportable_long: Option<i64>,
pub other_reportable_short: Option<i64>,
pub other_reportable_spread: Option<i64>,
pub total_reportable_long: Option<i64>,
pub total_reportable_short: Option<i64>,
pub nonreportable_long: Option<i64>,
pub nonreportable_short: Option<i64>,
}Expand description
One weekly report row, broken down by trader category.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.report_date: StringReport date (YYYY-MM-DD) — the Tuesday the report is as of.
open_interest: Option<i64>Total open interest, all reporting categories combined.
producer_merchant_long: Option<i64>Commercial hedgers (producers/merchants/processors/users): long side.
producer_merchant_short: Option<i64>Commercial hedgers: short side.
swap_dealer_long: Option<i64>Swap dealers: long side.
swap_dealer_short: Option<i64>Swap dealers: short side.
swap_dealer_spread: Option<i64>Swap dealers: spread positions.
managed_money_long: Option<i64>Managed money (large speculators): long side.
managed_money_short: Option<i64>Managed money: short side.
managed_money_spread: Option<i64>Managed money: spread positions.
other_reportable_long: Option<i64>Other reportable traders: long side.
other_reportable_short: Option<i64>Other reportable traders: short side.
other_reportable_spread: Option<i64>Other reportable traders: spread positions.
total_reportable_long: Option<i64>Sum of all reportable categories: long side.
total_reportable_short: Option<i64>Sum of all reportable categories: short side.
nonreportable_long: Option<i64>Small traders below CFTC reporting thresholds (residual): long side.
nonreportable_short: Option<i64>Small traders below CFTC reporting thresholds: short side.
Trait Implementations§
Source§impl Clone for CotObservation
impl Clone for CotObservation
Source§fn clone(&self) -> CotObservation
fn clone(&self) -> CotObservation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CotObservation
impl Debug for CotObservation
Source§impl<'de> Deserialize<'de> for CotObservation
impl<'de> Deserialize<'de> for CotObservation
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>,
Auto Trait Implementations§
impl Freeze for CotObservation
impl RefUnwindSafe for CotObservation
impl Send for CotObservation
impl Sync for CotObservation
impl Unpin for CotObservation
impl UnsafeUnpin for CotObservation
impl UnwindSafe for CotObservation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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