pub struct ChatCompletionRequestMessageContentPartFileFile {
pub file_data: Option<String>,
pub file_id: Option<String>,
pub filename: Option<String>,
}
Fields§
§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.
filename: Option<String>
The name of the file, used when passing the file to the model as a string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartFileFile
impl<'de> Deserialize<'de> for ChatCompletionRequestMessageContentPartFileFile
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
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestMessageContentPartFileFile
impl RefUnwindSafe for ChatCompletionRequestMessageContentPartFileFile
impl Send for ChatCompletionRequestMessageContentPartFileFile
impl Sync for ChatCompletionRequestMessageContentPartFileFile
impl Unpin for ChatCompletionRequestMessageContentPartFileFile
impl UnwindSafe for ChatCompletionRequestMessageContentPartFileFile
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