#[non_exhaustive]pub enum FillHistoryRange {
#[non_exhaustive] Ssboe {
start: i32,
finish: i32,
},
#[non_exhaustive] TradeDate {
start: i32,
finish: i32,
},
}Expand description
The window of a fill-history request, in the two index formats template 3512 accepts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Ssboe
Bounds are seconds since the beginning of the epoch.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
#[non_exhaustive]TradeDate
Bounds are trade dates written as CCYYMMDD, e.g. 20260804.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
Implementations§
Source§impl FillHistoryRange
impl FillHistoryRange
Sourcepub fn ssboe(start: i32, finish: i32) -> Self
pub fn ssboe(start: i32, finish: i32) -> Self
A window bounded in seconds since the beginning of the epoch.
Sourcepub fn trade_date(start: i32, finish: i32) -> Self
pub fn trade_date(start: i32, finish: i32) -> Self
A window bounded by trade dates written as CCYYMMDD, e.g. 20260804.
Sourcepub fn index_format(&self) -> &'static str
pub fn index_format(&self) -> &'static str
The index_format spelling sent on the wire.
Trait Implementations§
Source§impl Clone for FillHistoryRange
impl Clone for FillHistoryRange
Source§fn clone(&self) -> FillHistoryRange
fn clone(&self) -> FillHistoryRange
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 moreimpl Copy for FillHistoryRange
Source§impl Debug for FillHistoryRange
impl Debug for FillHistoryRange
Source§impl<'de> Deserialize<'de> for FillHistoryRange
impl<'de> Deserialize<'de> for FillHistoryRange
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FillHistoryRange
Source§impl Hash for FillHistoryRange
impl Hash for FillHistoryRange
Source§impl PartialEq for FillHistoryRange
impl PartialEq for FillHistoryRange
Source§impl Serialize for FillHistoryRange
impl Serialize for FillHistoryRange
impl StructuralPartialEq for FillHistoryRange
Auto Trait Implementations§
impl Freeze for FillHistoryRange
impl RefUnwindSafe for FillHistoryRange
impl Send for FillHistoryRange
impl Sync for FillHistoryRange
impl Unpin for FillHistoryRange
impl UnsafeUnpin for FillHistoryRange
impl UnwindSafe for FillHistoryRange
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