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 async fn send(self) -> Result<KeysetEventsResponse, GammaError>
pub async fn send(self) -> Result<KeysetEventsResponse, GammaError>
Execute the request.
Auto Trait Implementations§
impl Freeze for ListKeysetEvents
impl !RefUnwindSafe for ListKeysetEvents
impl Send for ListKeysetEvents
impl Sync for ListKeysetEvents
impl Unpin for ListKeysetEvents
impl UnsafeUnpin for ListKeysetEvents
impl !UnwindSafe for ListKeysetEvents
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