pub struct Input {
pub completion_window: Option<InputCompletionWindow>,
pub headers: Headers,
pub input_file_id: String,
pub metadata: HashMap<String, String>,
}Expand description
Creates a batch from a previously uploaded input file. A newly created batch begins with the validating status and is processed within the requested completion window.
Fields§
§completion_window: Option<InputCompletionWindow>Target completion time for the batch. The only supported value is 24h, which is also the default.
headers: Headers§input_file_id: StringID of a file uploaded with purpose=batch. Send in the request body.
metadata: HashMap<String, String>Metadata associated with the batch. Each metadata key and value must be a string.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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
Source§impl IntoOperation for Input
impl IntoOperation for Input
Auto Trait Implementations§
impl Forget for Input
impl Freeze for Input
impl Move for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Inputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for Input
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