pub struct GetPredictionV1EventsEventIdBuilder<'a> { /* private fields */ }Expand description
Additive request builder for getPredictionV1EventsEventId.
Implementations§
Source§impl<'a> GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> GetPredictionV1EventsEventIdBuilder<'a>
Sourcepub fn include_markets(self, include_markets: bool) -> Self
pub fn include_markets(self, include_markets: bool) -> Self
Set the optional includeMarkets operation parameter.
Sourcepub fn include_all_markets(self, include_all_markets: bool) -> Self
pub fn include_all_markets(self, include_all_markets: bool) -> Self
Set the optional includeAllMarkets operation parameter.
Sourcepub async fn send(
self,
) -> Result<PredictionEvent, ApiOpError<GetPredictionV1EventsEventIdApiError>>
pub async fn send( self, ) -> Result<PredictionEvent, ApiOpError<GetPredictionV1EventsEventIdApiError>>
Send the request through the existing flat operation method.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> !UnwindSafe for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> Freeze for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> Send for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> Sync for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> Unpin for GetPredictionV1EventsEventIdBuilder<'a>
impl<'a> UnsafeUnpin for GetPredictionV1EventsEventIdBuilder<'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