pub struct LeveragesQuery<'a> {
pub currency: Option<&'a str>,
pub expiration_date: Option<&'a str>,
pub instrument_group_type: Option<&'a str>,
pub instrument_type: Option<&'a str>,
pub issuer_id: Option<IssuerId>,
pub market_view: Option<&'a str>,
}Expand description
Optional query parameters for Client::list_leverages and
Client::get_leverage_filters.
All six fields are documented as optional. Built with
LeveragesQuery::default() and field-by-field assignment, then passed
by reference to the resource methods.
Fields§
§currency: Option<&'a str>Show only leverage instruments with a specific currency.
expiration_date: Option<&'a str>Show only leverage instruments with a specific expiration date
(YYYY-MM-DD).
instrument_group_type: Option<&'a str>Show only instruments with a specific instrument group type.
instrument_type: Option<&'a str>Show only instruments with a specific instrument type.
issuer_id: Option<IssuerId>Show only leverage instruments from a specific issuer.
market_view: Option<&'a str>Show only leverage instruments with a specific market view
(D or U).
Trait Implementations§
Source§impl<'a> Clone for LeveragesQuery<'a>
impl<'a> Clone for LeveragesQuery<'a>
Source§fn clone(&self) -> LeveragesQuery<'a>
fn clone(&self) -> LeveragesQuery<'a>
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 moreSource§impl<'a> Debug for LeveragesQuery<'a>
impl<'a> Debug for LeveragesQuery<'a>
Source§impl<'a> Default for LeveragesQuery<'a>
impl<'a> Default for LeveragesQuery<'a>
Source§fn default() -> LeveragesQuery<'a>
fn default() -> LeveragesQuery<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for LeveragesQuery<'a>
impl<'a> RefUnwindSafe for LeveragesQuery<'a>
impl<'a> Send for LeveragesQuery<'a>
impl<'a> Sync for LeveragesQuery<'a>
impl<'a> Unpin for LeveragesQuery<'a>
impl<'a> UnsafeUnpin for LeveragesQuery<'a>
impl<'a> UnwindSafe for LeveragesQuery<'a>
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