pub struct BatchCreateParams {
pub input_file_id: String,
pub endpoint: String,
pub completion_window: String,
pub metadata: Option<HashMap<String, String>>,
}Expand description
Arguments for crate::resources::Batches::create.
Fields§
§input_file_id: StringId of a previously uploaded input file.
endpoint: StringThe endpoint each line targets (e.g. /v1/chat/completions).
completion_window: StringCompletion window (e.g. "24h").
metadata: Option<HashMap<String, String>>Optional free-form metadata.
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
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