pub struct ParsedSymbolList {
pub securities: Vec<Security>,
}Expand description
已通过基本契约校验的 security 列表 — 至少 1 项,且每项 market / code 都非空。
所有 list-type handler 必须用此类型(而不是裸 Vec<Security>)作为输入承载,
防止 silent-fallback / partial-success 反模式。
Fields§
§securities: Vec<Security>已校验的 security 列表(保留原顺序,便于 handler 按序构造响应)。
Implementations§
Trait Implementations§
Source§impl Clone for ParsedSymbolList
impl Clone for ParsedSymbolList
Source§fn clone(&self) -> ParsedSymbolList
fn clone(&self) -> ParsedSymbolList
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 moreAuto Trait Implementations§
impl Freeze for ParsedSymbolList
impl RefUnwindSafe for ParsedSymbolList
impl Send for ParsedSymbolList
impl Sync for ParsedSymbolList
impl Unpin for ParsedSymbolList
impl UnsafeUnpin for ParsedSymbolList
impl UnwindSafe for ParsedSymbolList
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