pub struct ListActivity { /* private fields */ }Expand description
Request builder for listing user activity
Implementations§
Source§impl ListActivity
impl ListActivity
Sourcepub fn market(
self,
condition_ids: impl IntoIterator<Item = impl ToString>,
) -> Self
pub fn market( self, condition_ids: impl IntoIterator<Item = impl ToString>, ) -> Self
Filter by market condition IDs (comma-separated)
Sourcepub fn event_id(
self,
event_ids: impl IntoIterator<Item = impl ToString>,
) -> Self
pub fn event_id( self, event_ids: impl IntoIterator<Item = impl ToString>, ) -> Self
Filter by event IDs (comma-separated)
Sourcepub fn activity_type(
self,
types: impl IntoIterator<Item = ActivityType>,
) -> Self
pub fn activity_type( self, types: impl IntoIterator<Item = ActivityType>, ) -> Self
Filter by activity types (comma-separated)
Sourcepub fn sort_by(self, sort_by: ActivitySortBy) -> Self
pub fn sort_by(self, sort_by: ActivitySortBy) -> Self
Set sort field (default: TIMESTAMP)
Sourcepub fn sort_direction(self, direction: SortDirection) -> Self
pub fn sort_direction(self, direction: SortDirection) -> Self
Set sort direction (default: DESC)
Auto Trait Implementations§
impl Freeze for ListActivity
impl !RefUnwindSafe for ListActivity
impl Send for ListActivity
impl Sync for ListActivity
impl Unpin for ListActivity
impl UnsafeUnpin for ListActivity
impl !UnwindSafe for ListActivity
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