pub struct InputFileContent {
pub type: String,
pub file_id: InputFileContent_FileId,
pub filename: String,
pub file_data: String,
}Expand description
A file input to the model.
Fields§
§type: StringThe type of the input item.
file_id: InputFileContent_FileId§filename: StringThe name of the file to be sent to the model.
file_data: StringThe content of the file to be sent to the model.
Trait Implementations§
Source§impl Clone for InputFileContent
impl Clone for InputFileContent
Source§fn clone(&self) -> InputFileContent
fn clone(&self) -> InputFileContent
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 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