pub struct PostPredictionV1ExecuteBuilder<'a> { /* private fields */ }Expand description
Additive request builder for postPredictionV1Execute.
Implementations§
Source§impl<'a> PostPredictionV1ExecuteBuilder<'a>
impl<'a> PostPredictionV1ExecuteBuilder<'a>
Sourcepub fn request(self, request: PredictionExecuteRequest) -> Self
pub fn request(self, request: PredictionExecuteRequest) -> Self
Replace the complete request body.
Sourcepub fn context(self, context: PredictionExecuteRequestContext) -> Self
pub fn context(self, context: PredictionExecuteRequestContext) -> Self
Set the optional request-body field context.
Sourcepub fn request_id(self, request_id: String) -> Self
pub fn request_id(self, request_id: String) -> Self
Set the optional request-body field requestId.
Sourcepub async fn send(
self,
) -> Result<PredictionExecuteResponse, ApiOpError<PostPredictionV1ExecuteApiError>>
pub async fn send( self, ) -> Result<PredictionExecuteResponse, ApiOpError<PostPredictionV1ExecuteApiError>>
Send the request through the existing flat operation method.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PostPredictionV1ExecuteBuilder<'a>
impl<'a> !UnwindSafe for PostPredictionV1ExecuteBuilder<'a>
impl<'a> Freeze for PostPredictionV1ExecuteBuilder<'a>
impl<'a> Send for PostPredictionV1ExecuteBuilder<'a>
impl<'a> Sync for PostPredictionV1ExecuteBuilder<'a>
impl<'a> Unpin for PostPredictionV1ExecuteBuilder<'a>
impl<'a> UnsafeUnpin for PostPredictionV1ExecuteBuilder<'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