pub struct ListUserTrades { /* private fields */ }Expand description
Request builder for listing user trades
Implementations§
Source§impl ListUserTrades
impl ListUserTrades
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)
Note: Mutually exclusive with event_id
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)
Note: Mutually exclusive with market
Sourcepub fn taker_only(self, taker_only: bool) -> Self
pub fn taker_only(self, taker_only: bool) -> Self
Filter for taker trades only (default: true)
Sourcepub fn filter_type(self, filter_type: TradeFilterType) -> Self
pub fn filter_type(self, filter_type: TradeFilterType) -> Self
Set filter type (must be paired with filter_amount)
Sourcepub fn filter_amount(self, amount: f64) -> Self
pub fn filter_amount(self, amount: f64) -> Self
Set filter amount (must be paired with filter_type)
Auto Trait Implementations§
impl Freeze for ListUserTrades
impl !RefUnwindSafe for ListUserTrades
impl Send for ListUserTrades
impl Sync for ListUserTrades
impl Unpin for ListUserTrades
impl !UnwindSafe for ListUserTrades
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