pub struct InstrumentsQuery {
pub source: String,
pub market: String,
pub instrument: Option<String>,
pub expiry: Option<i64>,
pub option_type: Option<String>,
pub q: Option<String>,
}Expand description
Filters for option-contract discovery. market is the normalized underlying.
Fields§
§source: String§market: String§instrument: Option<String>§expiry: Option<i64>Exact expiry as Unix milliseconds.
option_type: Option<String>§q: Option<String>Trait Implementations§
Source§impl Clone for InstrumentsQuery
impl Clone for InstrumentsQuery
Source§impl Debug for InstrumentsQuery
impl Debug for InstrumentsQuery
impl Eq for InstrumentsQuery
Source§impl PartialEq for InstrumentsQuery
impl PartialEq for InstrumentsQuery
impl StructuralPartialEq for InstrumentsQuery
Auto Trait Implementations§
impl Freeze for InstrumentsQuery
impl RefUnwindSafe for InstrumentsQuery
impl Send for InstrumentsQuery
impl Sync for InstrumentsQuery
impl Unpin for InstrumentsQuery
impl UnsafeUnpin for InstrumentsQuery
impl UnwindSafe for InstrumentsQuery
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