pub struct ListSearchQuery<'a> {
pub apply_filters: Option<&'a str>,
pub free_text_search: Option<&'a str>,
pub limit: Option<i32>,
pub offset: Option<i32>,
pub sort_attribute: Option<&'a str>,
pub sort_order: Option<&'a str>,
}Expand description
Optional query parameters shared by Client::search_bullbearlist,
Client::search_minifuturelist, and
Client::search_unlimitedturbolist.
All three endpoints document the same parameter set (apply_filters, free_text_search, limit, offset, sort_attribute, sort_order). One query type is used for all three to avoid trivial duplication.
Fields§
§apply_filters: Option<&'a str>Specifies which filters to apply to the search.
free_text_search: Option<&'a str>Free text search for name, symbol and ISIN.
limit: Option<i32>Limits the search results to limit instruments.
offset: Option<i32>Skips the first offset search results.
sort_attribute: Option<&'a str>Defines the attribute to sort by. (bullbearlist defaults to
name; the other two endpoints have no documented default.)
sort_order: Option<&'a str>Defines the sort order (asc or desc).
Trait Implementations§
Source§impl<'a> Clone for ListSearchQuery<'a>
impl<'a> Clone for ListSearchQuery<'a>
Source§fn clone(&self) -> ListSearchQuery<'a>
fn clone(&self) -> ListSearchQuery<'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 ListSearchQuery<'a>
impl<'a> Debug for ListSearchQuery<'a>
Source§impl<'a> Default for ListSearchQuery<'a>
impl<'a> Default for ListSearchQuery<'a>
Source§fn default() -> ListSearchQuery<'a>
fn default() -> ListSearchQuery<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ListSearchQuery<'a>
impl<'a> RefUnwindSafe for ListSearchQuery<'a>
impl<'a> Send for ListSearchQuery<'a>
impl<'a> Sync for ListSearchQuery<'a>
impl<'a> Unpin for ListSearchQuery<'a>
impl<'a> UnsafeUnpin for ListSearchQuery<'a>
impl<'a> UnwindSafe for ListSearchQuery<'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