pub struct InputFile {
pub file_data: Option<String>,
pub file_id: Option<String>,
pub filename: Option<String>,
}
Fields§
§file_data: Option<String>
The content of the file to be sent to the model.
file_id: Option<String>
The ID of the file to be sent to the model.
filename: Option<String>
The name of the file to be sent to the model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputFile
impl<'de> Deserialize<'de> for InputFile
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
impl StructuralPartialEq for InputFile
Auto Trait Implementations§
impl Freeze for InputFile
impl RefUnwindSafe for InputFile
impl Send for InputFile
impl Sync for InputFile
impl Unpin for InputFile
impl UnwindSafe for InputFile
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