pub struct BatchCreateRequest { /* private fields */ }Expand description
Create batch request (POST /paas/v4/batches)
Implementations§
Source§impl BatchCreateRequest
impl BatchCreateRequest
Sourcepub fn new(input_file_id: impl Into<String>, endpoint: BatchEndpoint) -> Self
pub fn new(input_file_id: impl Into<String>, endpoint: BatchEndpoint) -> Self
Build a new create-batch request with required fields
Sourcepub fn with_auto_delete_input_file(self, v: bool) -> Self
pub fn with_auto_delete_input_file(self, v: bool) -> Self
Set auto-delete flag (default true)
Sourcepub fn with_metadata(self, v: BTreeMap<String, String>) -> Self
pub fn with_metadata(self, v: BTreeMap<String, String>) -> Self
Set string metadata.
Auto Trait Implementations§
impl Freeze for BatchCreateRequest
impl RefUnwindSafe for BatchCreateRequest
impl Send for BatchCreateRequest
impl Sync for BatchCreateRequest
impl Unpin for BatchCreateRequest
impl UnsafeUnpin for BatchCreateRequest
impl UnwindSafe for BatchCreateRequest
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