pub struct InstrumentFilter {
pub base_currency: Option<Vec<String>>,
pub quote_currency: Option<Vec<String>>,
pub instrument_type: Option<Vec<String>>,
pub contract_type: Option<Vec<String>>,
pub active: Option<bool>,
pub available_since: Option<DateTime<Utc>>,
pub available_to: Option<DateTime<Utc>>,
}Expand description
Provides an instrument metadata API filter object.
Fields§
§base_currency: Option<Vec<String>>§quote_currency: Option<Vec<String>>§instrument_type: Option<Vec<String>>§contract_type: Option<Vec<String>>§active: Option<bool>§available_since: Option<DateTime<Utc>>§available_to: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for InstrumentFilter
impl Debug for InstrumentFilter
Source§impl Default for InstrumentFilter
impl Default for InstrumentFilter
Source§fn default() -> InstrumentFilter
fn default() -> InstrumentFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstrumentFilter
impl RefUnwindSafe for InstrumentFilter
impl Send for InstrumentFilter
impl Sync for InstrumentFilter
impl Unpin for InstrumentFilter
impl UnwindSafe for InstrumentFilter
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