pub struct GetEventMarketsRequest<'a> { /* private fields */ }Expand description
Request builder for getting event markets.
Implementations§
Source§impl<'a> GetEventMarketsRequest<'a>
impl<'a> GetEventMarketsRequest<'a>
Sourcepub fn bookmakers(
self,
bookmakers: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn bookmakers( self, bookmakers: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Filter by specific bookmakers.
Sourcepub fn date_format(self, format: DateFormat) -> Self
pub fn date_format(self, format: DateFormat) -> Self
Set the date format.
Sourcepub async fn send(self) -> Result<Response<EventMarkets>>
pub async fn send(self) -> Result<Response<EventMarkets>>
Execute the request.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetEventMarketsRequest<'a>
impl<'a> !RefUnwindSafe for GetEventMarketsRequest<'a>
impl<'a> Send for GetEventMarketsRequest<'a>
impl<'a> Sync for GetEventMarketsRequest<'a>
impl<'a> Unpin for GetEventMarketsRequest<'a>
impl<'a> UnsafeUnpin for GetEventMarketsRequest<'a>
impl<'a> !UnwindSafe for GetEventMarketsRequest<'a>
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