pub struct ImageGenerationCallBuilder(/* private fields */);Expand description
Builder for ImageGenerationCall.
Implementations§
Source§impl ImageGenerationCallBuilder
impl ImageGenerationCallBuilder
pub fn agent(self, value: impl Into<Option<Agent>>) -> Self
pub fn action(self, value: impl Into<Option<ImageAction>>) -> Self
pub fn background(self, value: impl Into<Option<ImageBackground>>) -> Self
pub fn output_format(self, value: impl Into<Option<ImageOutputFormat>>) -> Self
pub fn quality(self, value: impl Into<Option<ImageQuality>>) -> Self
pub fn revised_prompt(self, value: impl Into<Option<String>>) -> Self
pub fn size(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ImageGenerationCall
pub fn build(self) -> ImageGenerationCall
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ImageGenerationCallBuilder
impl RefUnwindSafe for ImageGenerationCallBuilder
impl Send for ImageGenerationCallBuilder
impl Sync for ImageGenerationCallBuilder
impl Unpin for ImageGenerationCallBuilder
impl UnsafeUnpin for ImageGenerationCallBuilder
impl UnwindSafe for ImageGenerationCallBuilder
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