pub enum PriceSnapshotSelection {
Targets(Vec<AShareCode>),
MarketPage {
limit: u32,
offset: u32,
},
}Expand description
Either explicit targets or a page of the complete A-share universe.
Variants§
Implementations§
Source§impl PriceSnapshotSelection
impl PriceSnapshotSelection
pub fn targets(targets: Vec<AShareCode>) -> Result<Self, ValidationError>
pub const fn market_page( limit: u32, offset: u32, ) -> Result<Self, ValidationError>
Trait Implementations§
Source§impl Clone for PriceSnapshotSelection
impl Clone for PriceSnapshotSelection
Source§fn clone(&self) -> PriceSnapshotSelection
fn clone(&self) -> PriceSnapshotSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PriceSnapshotSelection
impl Debug for PriceSnapshotSelection
impl Eq for PriceSnapshotSelection
Source§impl PartialEq for PriceSnapshotSelection
impl PartialEq for PriceSnapshotSelection
impl StructuralPartialEq for PriceSnapshotSelection
Auto Trait Implementations§
impl Freeze for PriceSnapshotSelection
impl RefUnwindSafe for PriceSnapshotSelection
impl Send for PriceSnapshotSelection
impl Sync for PriceSnapshotSelection
impl Unpin for PriceSnapshotSelection
impl UnsafeUnpin for PriceSnapshotSelection
impl UnwindSafe for PriceSnapshotSelection
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