pub struct InputFileContent {
pub type: String,
pub file_id: Option<InputFileContent_FileId>,
pub filename: Option<String>,
pub file_data: Option<String>,
}
Expand description
A file input to the model.
Fields§
§type: String
The type of the input item.
file_id: Option<InputFileContent_FileId>
§filename: Option<String>
The name of the file to be sent to the model.
file_data: Option<String>
The 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 moreSource§impl Debug for InputFileContent
impl Debug for InputFileContent
Source§impl Default for InputFileContent
impl Default for InputFileContent
Source§fn default() -> InputFileContent
fn default() -> InputFileContent
Returns the “default value” for a type. 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