pub struct GetSearchParams {
pub q: Option<String>,
pub events_status: Option<String>,
pub events_tag: Option<String>,
pub sort: Option<String>,
pub ascending: Option<bool>,
pub limit_per_type: Option<u32>,
pub page: Option<u32>,
pub keep_closed_markets: Option<bool>,
}Expand description
Query parameters for Gamma API GET /public-search.
Fields§
§q: Option<String>Free-text search query.
events_status: Option<String>Filter events by status (“active”, “closed”, etc.).
events_tag: Option<String>Filter by event tag.
sort: Option<String>Sort field (“volume”, “liquidity”, etc.).
ascending: Option<bool>§limit_per_type: Option<u32>§page: Option<u32>§keep_closed_markets: Option<bool>Trait Implementations§
Source§impl Clone for GetSearchParams
impl Clone for GetSearchParams
Source§fn clone(&self) -> GetSearchParams
fn clone(&self) -> GetSearchParams
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 Debug for GetSearchParams
impl Debug for GetSearchParams
Source§impl Default for GetSearchParams
impl Default for GetSearchParams
Source§fn default() -> GetSearchParams
fn default() -> GetSearchParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetSearchParams
impl RefUnwindSafe for GetSearchParams
impl Send for GetSearchParams
impl Sync for GetSearchParams
impl Unpin for GetSearchParams
impl UnsafeUnpin for GetSearchParams
impl UnwindSafe for GetSearchParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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