pub struct BatchCreateParams {
pub completion_window: String,
pub endpoint: BatchCreateParamsEndpoint,
pub input_file_id: String,
pub metadata: Option<Value>,
pub output_expires_after: Option<OutputExpiresAfter>,
}Fields§
§completion_window: StringThe time frame within which the batch should be processed.
endpoint: BatchCreateParamsEndpointThe endpoint to be used for all requests in the batch.
input_file_id: StringThe ID of an uploaded file that contains requests for the new batch.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
output_expires_after: Option<OutputExpiresAfter>The expiration policy for the output and/or error file that are generated for a
Trait Implementations§
Source§impl Clone for BatchCreateParams
impl Clone for BatchCreateParams
Source§fn clone(&self) -> BatchCreateParams
fn clone(&self) -> BatchCreateParams
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 moreSource§impl Debug for BatchCreateParams
impl Debug for BatchCreateParams
Source§impl<'de> Deserialize<'de> for BatchCreateParams
impl<'de> Deserialize<'de> for BatchCreateParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchCreateParams
impl RefUnwindSafe for BatchCreateParams
impl Send for BatchCreateParams
impl Sync for BatchCreateParams
impl Unpin for BatchCreateParams
impl UnsafeUnpin for BatchCreateParams
impl UnwindSafe for BatchCreateParams
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