pub struct InputFileContent {
pub file_data: Option<String>,
pub file_id: Option<Value>,
pub filename: Option<String>,
pub _type: String,
}
Fields§
§file_data: Option<String>
The content of the file to be sent to the model.
file_id: Option<Value>
§filename: Option<String>
The name of the file to be sent to the model.
_type: String
The type of the input item. Always input_file
.
Trait Implementations§
Source§impl Debug for InputFileContent
impl Debug for InputFileContent
Source§impl<'de> Deserialize<'de> for InputFileContent
impl<'de> Deserialize<'de> for InputFileContent
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 InputFileContent
impl RefUnwindSafe for InputFileContent
impl Send for InputFileContent
impl Sync for InputFileContent
impl Unpin for InputFileContent
impl UnwindSafe for InputFileContent
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