pub struct ChatCompletionRequestMessageContentPartFile_File {
pub filename: Option<String>,
pub file_data: Option<String>,
pub file_id: Option<String>,
}
Fields§
§filename: Option<String>
The name of the file, used when passing the file to the model as a string.
file_data: Option<String>
The base64 encoded file data, used when passing the file to the model as a string.
file_id: Option<String>
The ID of an uploaded file to use as input.
Trait Implementations§
Source§impl Clone for ChatCompletionRequestMessageContentPartFile_File
impl Clone for ChatCompletionRequestMessageContentPartFile_File
Source§fn clone(&self) -> ChatCompletionRequestMessageContentPartFile_File
fn clone(&self) -> ChatCompletionRequestMessageContentPartFile_File
Returns a copy 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 Default for ChatCompletionRequestMessageContentPartFile_File
impl Default for ChatCompletionRequestMessageContentPartFile_File
Source§fn default() -> ChatCompletionRequestMessageContentPartFile_File
fn default() -> ChatCompletionRequestMessageContentPartFile_File
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestMessageContentPartFile_File
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartFile_File
impl Send for ChatCompletionRequestMessageContentPartFile_File
impl Sync for ChatCompletionRequestMessageContentPartFile_File
impl Unpin for ChatCompletionRequestMessageContentPartFile_File
impl UnwindSafe for ChatCompletionRequestMessageContentPartFile_File
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