pub struct GetManyMarkets { /* private fields */ }Expand description
Request builder for batch lookup of markets by ID.
On Self::send this issues two parallel /markets requests — one with
closed=true, one with closed=false — and concatenates the results. The
two upstream responses are disjoint (a market is either closed or not), so
merging by concatenation is exact.
Implementations§
Source§impl GetManyMarkets
impl GetManyMarkets
Sourcepub fn include_tag(self, include: bool) -> Self
pub fn include_tag(self, include: bool) -> Self
Include tag data in results
Auto Trait Implementations§
impl Freeze for GetManyMarkets
impl !RefUnwindSafe for GetManyMarkets
impl Send for GetManyMarkets
impl Sync for GetManyMarkets
impl Unpin for GetManyMarkets
impl UnsafeUnpin for GetManyMarkets
impl !UnwindSafe for GetManyMarkets
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