pub struct Batches { /* private fields */ }Expand description
Batches API — create/list/retrieve/cancel asynchronous batch jobs.
A batch carries no model up front, so select the upstream with
RequestOptions::provider (the floopy-provider header).
Implementations§
Source§impl Batches
impl Batches
Sourcepub async fn create(
&self,
params: BatchCreateParams,
req: impl Into<Option<RequestOptions>>,
) -> Result<Batch>
pub async fn create( &self, params: BatchCreateParams, req: impl Into<Option<RequestOptions>>, ) -> Result<Batch>
Sourcepub async fn list(
&self,
params: BatchListParams,
req: impl Into<Option<RequestOptions>>,
) -> Result<BatchList>
pub async fn list( &self, params: BatchListParams, req: impl Into<Option<RequestOptions>>, ) -> Result<BatchList>
Auto Trait Implementations§
impl Freeze for Batches
impl !RefUnwindSafe for Batches
impl Send for Batches
impl Sync for Batches
impl Unpin for Batches
impl UnsafeUnpin for Batches
impl !UnwindSafe for Batches
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