pub struct GetGammaMarketsParamsBuilder { /* private fields */ }Expand description
Builder for GetGammaMarketsParams.
Implementations§
Source§impl GetGammaMarketsParamsBuilder
impl GetGammaMarketsParamsBuilder
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 market 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 market query.
pub fn id<VALUE: Into<Vec<u64>>>(&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.
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 slug<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn clob_token_ids<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn condition_ids<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn question_ids<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn market_maker_address<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn liquidity_num_min<VALUE: Into<Decimal>>( &mut self, value: VALUE, ) -> &mut Self
pub fn liquidity_num_max<VALUE: Into<Decimal>>( &mut self, value: VALUE, ) -> &mut Self
pub fn volume_num_min<VALUE: Into<Decimal>>( &mut self, value: VALUE, ) -> &mut Self
pub fn volume_num_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.
pub fn 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 decimalized<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn cyom<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn rfq_enabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn uma_resolution_status<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn game_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn sports_market_types<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include_tag<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn locale<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn max_markets<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn max_markets<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Client-side cap on total markets to fetch across all pages. Not sent to the API, only used by the paginator to stop early. Each market produces 2 instruments (Yes/No outcomes).
Sourcepub fn build(
&self,
) -> Result<GetGammaMarketsParams, GetGammaMarketsParamsBuilderError>
pub fn build( &self, ) -> Result<GetGammaMarketsParams, GetGammaMarketsParamsBuilderError>
Trait Implementations§
Source§impl Clone for GetGammaMarketsParamsBuilder
impl Clone for GetGammaMarketsParamsBuilder
Source§fn clone(&self) -> GetGammaMarketsParamsBuilder
fn clone(&self) -> GetGammaMarketsParamsBuilder
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 GetGammaMarketsParamsBuilder
impl RefUnwindSafe for GetGammaMarketsParamsBuilder
impl Send for GetGammaMarketsParamsBuilder
impl Sync for GetGammaMarketsParamsBuilder
impl Unpin for GetGammaMarketsParamsBuilder
impl UnsafeUnpin for GetGammaMarketsParamsBuilder
impl UnwindSafe for GetGammaMarketsParamsBuilder
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