pub struct GetGammaEventsParamsBuilder { /* private fields */ }Expand description
Builder for GetGammaEventsParams.
Implementations§
Source§impl GetGammaEventsParamsBuilder
impl GetGammaEventsParamsBuilder
pub fn active<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn closed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn archived<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn slug<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn tag_id<VALUE: Into<String>>(&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<String>>(&mut self, value: VALUE) -> &mut Self
pub fn featured<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn liquidity_min<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn liquidity_max<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn volume_min<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn volume_max<VALUE: Into<f64>>(&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 string.
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 string.
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 string.
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 string.
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
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
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 · 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§
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