pub struct BatchStartOptions {
pub requests: Vec<BatchRequest>,
pub webhook_url: Option<Url>,
pub provider_options: ProviderOptions,
pub headers: Headers,
pub cancellation: CancellationToken,
}Expand description
Options for starting a batch.
Fields§
§requests: Vec<BatchRequest>Requests to submit.
webhook_url: Option<Url>Webhook URL to notify on completion.
provider_options: ProviderOptionsProvider-specific options keyed by provider name.
headers: HeadersAdditional request headers.
cancellation: CancellationTokenCancellation token.
Trait Implementations§
Source§impl Clone for BatchStartOptions
impl Clone for BatchStartOptions
Source§fn clone(&self) -> BatchStartOptions
fn clone(&self) -> BatchStartOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BatchStartOptions
impl RefUnwindSafe for BatchStartOptions
impl Send for BatchStartOptions
impl Sync for BatchStartOptions
impl Unpin for BatchStartOptions
impl UnsafeUnpin for BatchStartOptions
impl UnwindSafe for BatchStartOptions
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