pub struct GetGammaEventsParams {Show 43 fields
pub active: Option<bool>,
pub closed: Option<bool>,
pub archived: Option<bool>,
pub id: Option<Vec<u64>>,
pub slug: Option<Vec<String>>,
pub live: Option<bool>,
pub featured: Option<bool>,
pub cyom: Option<bool>,
pub title_search: Option<String>,
pub liquidity_min: Option<Decimal>,
pub liquidity_max: Option<Decimal>,
pub volume_min: Option<Decimal>,
pub volume_max: Option<Decimal>,
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 start_time_min: Option<String>,
pub start_time_max: Option<String>,
pub tag_id: Option<Vec<u64>>,
pub tag_slug: Option<String>,
pub exclude_tag_id: Option<Vec<u64>>,
pub related_tags: Option<bool>,
pub tag_match: Option<String>,
pub series_id: Option<Vec<u64>>,
pub game_id: Option<Vec<u64>>,
pub event_date: Option<String>,
pub event_week: Option<u32>,
pub featured_order: Option<bool>,
pub recurrence: Option<String>,
pub created_by: Option<Vec<String>>,
pub parent_event_id: Option<u64>,
pub include_children: Option<bool>,
pub partner_slug: Option<String>,
pub include_chat: Option<bool>,
pub include_template: Option<bool>,
pub include_best_lines: Option<bool>,
pub locale: 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/keyset.
Fields§
§active: Option<bool>Compatibility filter retained from the legacy Gamma event query.
closed: Option<bool>§archived: Option<bool>Compatibility filter retained from the legacy Gamma event query.
id: Option<Vec<u64>>§slug: Option<Vec<String>>§live: Option<bool>§featured: Option<bool>§cyom: Option<bool>§title_search: Option<String>§liquidity_min: Option<Decimal>§liquidity_max: Option<Decimal>§volume_min: Option<Decimal>§volume_max: Option<Decimal>§start_date_min: Option<String>ISO 8601 date or RFC 3339 date-time.
start_date_max: Option<String>ISO 8601 date or RFC 3339 date-time.
end_date_min: Option<String>ISO 8601 date or RFC 3339 date-time.
end_date_max: Option<String>ISO 8601 date or RFC 3339 date-time.
start_time_min: Option<String>ISO 8601 date or RFC 3339 date-time.
start_time_max: Option<String>ISO 8601 date or RFC 3339 date-time.
tag_id: Option<Vec<u64>>§tag_slug: Option<String>§exclude_tag_id: Option<Vec<u64>>§tag_match: Option<String>§series_id: Option<Vec<u64>>§game_id: Option<Vec<u64>>§event_date: Option<String>ISO 8601 date or RFC 3339 date-time.
event_week: Option<u32>§featured_order: Option<bool>§recurrence: Option<String>§created_by: Option<Vec<String>>§parent_event_id: Option<u64>§include_children: Option<bool>§partner_slug: Option<String>§include_chat: Option<bool>§include_template: Option<bool>§include_best_lines: Option<bool>§locale: Option<String>§order: Option<String>§ascending: Option<bool>§limit: Option<u32>§offset: Option<u32>Client-side initial offset. Keyset requests never send this field.
max_events: Option<u32>Client-side cap on total events to fetch across all pages.
Implementations§
Source§impl GetGammaEventsParams
impl GetGammaEventsParams
Sourcepub fn validate_keyset(&self) -> Result<(), String>
pub fn validate_keyset(&self) -> Result<(), String>
Validates values and combinations used by the Gamma event keyset endpoint.
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 (const: unstable) · 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§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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