pub struct ResponseInputFileBuilder(/* private fields */);Expand description
Builder for ResponseInputFile.
Implementations§
Source§impl ResponseInputFileBuilder
impl ResponseInputFileBuilder
pub fn detail(self, value: impl Into<FileDetail>) -> Self
pub fn file_data(self, value: impl Into<String>) -> Self
pub fn file_id(self, value: impl Into<Option<String>>) -> Self
pub fn file_url(self, value: impl Into<String>) -> Self
pub fn filename(self, value: impl Into<String>) -> Self
pub fn prompt_cache_breakpoint( self, value: impl Into<PromptCacheBreakpoint>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ResponseInputFile
pub fn build(self) -> ResponseInputFile
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ResponseInputFileBuilder
impl RefUnwindSafe for ResponseInputFileBuilder
impl Send for ResponseInputFileBuilder
impl Sync for ResponseInputFileBuilder
impl Unpin for ResponseInputFileBuilder
impl UnsafeUnpin for ResponseInputFileBuilder
impl UnwindSafe for ResponseInputFileBuilder
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