pub struct InputFileArgs { /* private fields */ }
Expand description
Builder for InputFile
.
Implementations§
Source§impl InputFileArgs
impl InputFileArgs
Sourcepub fn file_data<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn file_data<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The content of the file to be sent to the model.
Sourcepub fn file_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn file_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The ID of the file to be sent to the model.
Trait Implementations§
Source§impl Clone for InputFileArgs
impl Clone for InputFileArgs
Source§fn clone(&self) -> InputFileArgs
fn clone(&self) -> InputFileArgs
Returns a duplicate 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 InputFileArgs
impl RefUnwindSafe for InputFileArgs
impl Send for InputFileArgs
impl Sync for InputFileArgs
impl Unpin for InputFileArgs
impl UnwindSafe for InputFileArgs
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