pub struct GetGammaEventsParams {Show 22 fields
pub active: Option<bool>,
pub closed: Option<bool>,
pub archived: Option<bool>,
pub id: Option<String>,
pub slug: Option<String>,
pub tag_id: Option<String>,
pub tag_slug: Option<String>,
pub exclude_tag_id: Option<String>,
pub featured: Option<bool>,
pub liquidity_min: Option<f64>,
pub liquidity_max: Option<f64>,
pub volume_min: Option<f64>,
pub volume_max: Option<f64>,
pub start_date_min: Option<String>,
pub start_date_max: Option<String>,
pub end_date_min: Option<String>,
pub end_date_max: Option<String>,
pub order: Option<String>,
pub ascending: Option<bool>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub max_events: Option<u32>,
}Expand description
Query parameters for Gamma API GET /events.
Fields§
§active: Option<bool>§closed: Option<bool>§archived: Option<bool>§id: Option<String>§slug: Option<String>§tag_id: Option<String>§tag_slug: Option<String>§exclude_tag_id: Option<String>§featured: Option<bool>§liquidity_min: Option<f64>§liquidity_max: Option<f64>§volume_min: Option<f64>§volume_max: Option<f64>§start_date_min: Option<String>ISO 8601 date string.
start_date_max: Option<String>ISO 8601 date string.
end_date_min: Option<String>ISO 8601 date string.
end_date_max: Option<String>ISO 8601 date string.
order: Option<String>§ascending: Option<bool>§limit: Option<u32>§offset: Option<u32>§max_events: Option<u32>Client-side cap on total events to fetch across all pages.
Trait Implementations§
Source§impl Clone for GetGammaEventsParams
impl Clone for GetGammaEventsParams
Source§fn clone(&self) -> GetGammaEventsParams
fn clone(&self) -> GetGammaEventsParams
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 GetGammaEventsParams
impl Debug for GetGammaEventsParams
Source§impl Default for GetGammaEventsParams
impl Default for GetGammaEventsParams
Source§fn default() -> GetGammaEventsParams
fn default() -> GetGammaEventsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetGammaEventsParams
impl RefUnwindSafe for GetGammaEventsParams
impl Send for GetGammaEventsParams
impl Sync for GetGammaEventsParams
impl Unpin for GetGammaEventsParams
impl UnsafeUnpin for GetGammaEventsParams
impl UnwindSafe for GetGammaEventsParams
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