struct FutureDataOut {
last_settle_price: f64,
position: i32,
position_change: i32,
last_trade_time: String,
is_main_contract: bool,
}Expand description
v1.4.98 T1-2: 期货特有字段 (持仓量 / 主连). 对齐 Qot_GetSecuritySnapshot.proto::FutureSnapshotExData.
Fields§
§last_settle_price: f64昨结算价
position: i32持仓量
position_change: i32日增仓 (momentum 信号)
last_trade_time: String最后交易日字符串 (仅非主连)
is_main_contract: bool是否主连合约
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FutureDataOut
impl RefUnwindSafe for FutureDataOut
impl Send for FutureDataOut
impl Sync for FutureDataOut
impl Unpin for FutureDataOut
impl UnsafeUnpin for FutureDataOut
impl UnwindSafe for FutureDataOut
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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