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