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