pub struct BatchCreateRequest {
pub input_file_id: String,
pub endpoint: String,
pub completion_window: String,
pub metadata: Option<HashMap<String, String>>,
}Expand description
Request body for POST /batches.
Fields§
§input_file_id: StringFile ID of the input JSONL file.
endpoint: StringAPI endpoint (e.g. “/v1/chat/completions”).
completion_window: StringCompletion window (currently only “24h”).
metadata: Option<HashMap<String, String>>Metadata.
Implementations§
Trait Implementations§
Source§impl Clone for BatchCreateRequest
impl Clone for BatchCreateRequest
Source§fn clone(&self) -> BatchCreateRequest
fn clone(&self) -> BatchCreateRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 BatchCreateRequest
impl Debug for BatchCreateRequest
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