pub struct ChatCompletionRequestMessageContentPartFile {
pub type: String,
pub file: ChatCompletionRequestMessageContentPartFile_File,
}
Expand description
Learn about file inputs for text generation.
Fields§
§type: String
The type of the content part.
file: ChatCompletionRequestMessageContentPartFile_File
Trait Implementations§
Source§impl Clone for ChatCompletionRequestMessageContentPartFile
impl Clone for ChatCompletionRequestMessageContentPartFile
Source§fn clone(&self) -> ChatCompletionRequestMessageContentPartFile
fn clone(&self) -> ChatCompletionRequestMessageContentPartFile
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 moreAuto Trait Implementations§
impl Freeze for ChatCompletionRequestMessageContentPartFile
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartFile
impl Send for ChatCompletionRequestMessageContentPartFile
impl Sync for ChatCompletionRequestMessageContentPartFile
impl Unpin for ChatCompletionRequestMessageContentPartFile
impl UnwindSafe for ChatCompletionRequestMessageContentPartFile
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