pub struct ListKeysetEvents { /* private fields */ }Expand description
Request builder for Events::list_keyset.
Implementations§
Source§impl ListKeysetEvents
impl ListKeysetEvents
Sourcepub fn order(self, order: impl Into<String>) -> Self
pub fn order(self, order: impl Into<String>) -> Self
Comma-separated list of JSON field names to order by.
Sourcepub fn after_cursor(self, cursor: impl Into<String>) -> Self
pub fn after_cursor(self, cursor: impl Into<String>) -> Self
Opaque cursor token returned as next_cursor from a previous response.
Sourcepub fn id(self, ids: impl IntoIterator<Item = i64>) -> Self
pub fn id(self, ids: impl IntoIterator<Item = i64>) -> Self
Filter by specific event IDs.
Sourcepub fn slug(self, slugs: impl IntoIterator<Item = impl ToString>) -> Self
pub fn slug(self, slugs: impl IntoIterator<Item = impl ToString>) -> Self
Filter by event slugs.
Sourcepub fn title_search(self, query: impl Into<String>) -> Self
pub fn title_search(self, query: impl Into<String>) -> Self
Search by event title substring.
Sourcepub fn tag_id(self, tag_ids: impl IntoIterator<Item = i64>) -> Self
pub fn tag_id(self, tag_ids: impl IntoIterator<Item = i64>) -> Self
Filter by tag IDs.
Sourcepub fn liquidity_min(self, min: f64) -> Self
pub fn liquidity_min(self, min: f64) -> Self
Set minimum liquidity threshold.
Sourcepub fn liquidity_max(self, max: f64) -> Self
pub fn liquidity_max(self, max: f64) -> Self
Set maximum liquidity threshold.
Sourcepub fn volume_min(self, min: f64) -> Self
pub fn volume_min(self, min: f64) -> Self
Set minimum trading volume.
Sourcepub fn volume_max(self, max: f64) -> Self
pub fn volume_max(self, max: f64) -> Self
Set maximum trading volume.
Sourcepub fn start_date_min(self, date: impl Into<String>) -> Self
pub fn start_date_min(self, date: impl Into<String>) -> Self
Filter by minimum start date (RFC3339).
Sourcepub fn start_date_max(self, date: impl Into<String>) -> Self
pub fn start_date_max(self, date: impl Into<String>) -> Self
Filter by maximum start date (RFC3339).
Sourcepub fn end_date_min(self, date: impl Into<String>) -> Self
pub fn end_date_min(self, date: impl Into<String>) -> Self
Filter by minimum end date (RFC3339).
Sourcepub fn end_date_max(self, date: impl Into<String>) -> Self
pub fn end_date_max(self, date: impl Into<String>) -> Self
Filter by maximum end date (RFC3339).
Sourcepub fn start_time_min(self, time: impl Into<String>) -> Self
pub fn start_time_min(self, time: impl Into<String>) -> Self
Filter by minimum game start time (RFC3339).
Sourcepub fn start_time_max(self, time: impl Into<String>) -> Self
pub fn start_time_max(self, time: impl Into<String>) -> Self
Filter by maximum game start time (RFC3339).
Sourcepub fn exclude_tag_id(self, tag_ids: impl IntoIterator<Item = i64>) -> Self
pub fn exclude_tag_id(self, tag_ids: impl IntoIterator<Item = i64>) -> Self
Exclude events carrying any of these tag IDs.
Include events matching related tags.
Sourcepub fn series_id(self, series_ids: impl IntoIterator<Item = i64>) -> Self
pub fn series_id(self, series_ids: impl IntoIterator<Item = i64>) -> Self
Filter by series IDs.
Sourcepub fn game_id(self, game_ids: impl IntoIterator<Item = i64>) -> Self
pub fn game_id(self, game_ids: impl IntoIterator<Item = i64>) -> Self
Filter by game IDs.
Sourcepub fn event_date(self, date: impl Into<String>) -> Self
pub fn event_date(self, date: impl Into<String>) -> Self
Filter by event date (RFC3339).
Sourcepub fn event_week(self, week: i64) -> Self
pub fn event_week(self, week: i64) -> Self
Filter by event week number.
Sourcepub fn featured_order(self, featured_order: bool) -> Self
pub fn featured_order(self, featured_order: bool) -> Self
Order results by the featured ranking.
Sourcepub fn recurrence(self, recurrence: impl Into<String>) -> Self
pub fn recurrence(self, recurrence: impl Into<String>) -> Self
Filter by recurrence.
Sourcepub fn created_by(
self,
creators: impl IntoIterator<Item = impl ToString>,
) -> Self
pub fn created_by( self, creators: impl IntoIterator<Item = impl ToString>, ) -> Self
Filter by creator addresses.
Sourcepub fn parent_event_id(self, parent_event_id: i64) -> Self
pub fn parent_event_id(self, parent_event_id: i64) -> Self
Filter to children of a specific parent event.
Sourcepub fn include_children(self, include: bool) -> Self
pub fn include_children(self, include: bool) -> Self
Include child events in the response.
Sourcepub fn partner_slug(self, slug: impl Into<String>) -> Self
pub fn partner_slug(self, slug: impl Into<String>) -> Self
Attach external_partners for the given partner slug.
Sourcepub fn include_chat(self, include: bool) -> Self
pub fn include_chat(self, include: bool) -> Self
Include chat data in the response.
Sourcepub fn include_template(self, include: bool) -> Self
pub fn include_template(self, include: bool) -> Self
Include template data in the response.
Sourcepub fn include_best_lines(self, include: bool) -> Self
pub fn include_best_lines(self, include: bool) -> Self
Include the BestLines relation in the response.
Sourcepub async fn send(self) -> Result<KeysetEventsResponse, GammaError>
pub async fn send(self) -> Result<KeysetEventsResponse, GammaError>
Execute the request.