pub struct SetPriceReminderInput<'a> {
pub symbol: &'a str,
pub op: i32,
pub key: Option<i64>,
pub reminder_type: Option<i32>,
pub freq: Option<i32>,
pub value: Option<f64>,
pub note: Option<&'a str>,
pub reminder_session_list: &'a [i32],
}Expand description
到价提醒 set 操作。op:1=ADD / 2=DEL / 3=ENABLE / 4=DISABLE / 5=MODIFY / 6=DEL_ALL。
新增 / 修改时需要 type_(见 Qot_Common.PriceReminderType)+ value。
v1.4.106 codex 1116 F4 [P2]: 加 reminder_session_list 参数. 美股 + 空 list →
daemon 默认补 [Open, USPre, USAfter] (对齐 C++ APIServer_Qot_PriceReminder.cpp:925-942).
Fields§
§symbol: &'a str§op: i32§key: Option<i64>§reminder_type: Option<i32>§freq: Option<i32>§value: Option<f64>§note: Option<&'a str>§reminder_session_list: &'a [i32]Auto Trait Implementations§
impl<'a> Freeze for SetPriceReminderInput<'a>
impl<'a> RefUnwindSafe for SetPriceReminderInput<'a>
impl<'a> Send for SetPriceReminderInput<'a>
impl<'a> Sync for SetPriceReminderInput<'a>
impl<'a> Unpin for SetPriceReminderInput<'a>
impl<'a> UnsafeUnpin for SetPriceReminderInput<'a>
impl<'a> UnwindSafe for SetPriceReminderInput<'a>
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