pub struct GetGammaEventsParamsBuilder { /* private fields */ }Expand description
Builder for GetGammaEventsParams.
Implementations§
Source§impl GetGammaEventsParamsBuilder
impl GetGammaEventsParamsBuilder
Sourcepub fn active<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn active<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Compatibility filter retained from the legacy Gamma event query.
pub fn closed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn archived<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn archived<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Compatibility filter retained from the legacy Gamma event query.
pub fn id<VALUE: Into<Vec<u64>>>(&mut self, value: VALUE) -> &mut Self
pub fn slug<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn live<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn featured<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn cyom<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn title_search<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn liquidity_min<VALUE: Into<Decimal>>(&mut self, value: VALUE) -> &mut Self
pub fn liquidity_max<VALUE: Into<Decimal>>(&mut self, value: VALUE) -> &mut Self
pub fn volume_min<VALUE: Into<Decimal>>(&mut self, value: VALUE) -> &mut Self
pub fn volume_max<VALUE: Into<Decimal>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn start_date_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn start_date_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
Sourcepub fn start_date_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn start_date_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
Sourcepub fn end_date_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn end_date_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
Sourcepub fn end_date_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn end_date_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
Sourcepub fn start_time_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn start_time_min<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
Sourcepub fn start_time_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn start_time_max<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
pub fn tag_id<VALUE: Into<Vec<u64>>>(&mut self, value: VALUE) -> &mut Self
pub fn tag_slug<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn exclude_tag_id<VALUE: Into<Vec<u64>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn tag_match<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn series_id<VALUE: Into<Vec<u64>>>(&mut self, value: VALUE) -> &mut Self
pub fn game_id<VALUE: Into<Vec<u64>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn event_date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn event_date<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
ISO 8601 date or RFC 3339 date-time.
pub fn event_week<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn featured_order<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn recurrence<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn created_by<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn parent_event_id<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn include_children<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn partner_slug<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn include_chat<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn include_template<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn include_best_lines<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn locale<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn ascending<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Client-side initial offset. Keyset requests never send this field.
Sourcepub fn max_events<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn max_events<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Client-side cap on total events to fetch across all pages.
Sourcepub fn build(
&self,
) -> Result<GetGammaEventsParams, GetGammaEventsParamsBuilderError>
pub fn build( &self, ) -> Result<GetGammaEventsParams, GetGammaEventsParamsBuilderError>
Trait Implementations§
Source§impl Clone for GetGammaEventsParamsBuilder
impl Clone for GetGammaEventsParamsBuilder
Source§fn clone(&self) -> GetGammaEventsParamsBuilder
fn clone(&self) -> GetGammaEventsParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetGammaEventsParamsBuilder
impl RefUnwindSafe for GetGammaEventsParamsBuilder
impl Send for GetGammaEventsParamsBuilder
impl Sync for GetGammaEventsParamsBuilder
impl Unpin for GetGammaEventsParamsBuilder
impl UnsafeUnpin for GetGammaEventsParamsBuilder
impl UnwindSafe for GetGammaEventsParamsBuilder
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