pub struct InputFileBuilder { /* private fields */ }
Expand description
Builder for InputFile
.
Implementations§
Source§impl InputFileBuilder
impl InputFileBuilder
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 InputFileBuilder
impl Clone for InputFileBuilder
Source§fn clone(&self) -> InputFileBuilder
fn clone(&self) -> InputFileBuilder
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 InputFileBuilder
impl RefUnwindSafe for InputFileBuilder
impl Send for InputFileBuilder
impl Sync for InputFileBuilder
impl Unpin for InputFileBuilder
impl UnwindSafe for InputFileBuilder
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