pub struct ImageGenerationToolBuilder(/* private fields */);Expand description
Builder for ImageGenerationTool.
Implementations§
Source§impl ImageGenerationToolBuilder
impl ImageGenerationToolBuilder
pub fn action(self, value: impl Into<ImageAction>) -> Self
pub fn input_fidelity(self, value: impl Into<Option<InputFidelity>>) -> Self
pub fn input_image_mask(self, value: impl Into<InputImageMask>) -> Self
pub fn moderation(self, value: impl Into<Moderation>) -> Self
pub fn background(self, value: impl Into<ImageBackground>) -> Self
pub fn model(self, value: impl Into<String>) -> Self
pub fn output_format(self, value: impl Into<ImageOutputFormat>) -> Self
pub fn output_compression(self, value: impl Into<Number>) -> Self
pub fn partial_images(self, value: impl Into<i64>) -> Self
pub fn quality(self, value: impl Into<ImageQuality>) -> Self
pub fn size(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ImageGenerationTool
pub fn build(self) -> ImageGenerationTool
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ImageGenerationToolBuilder
impl RefUnwindSafe for ImageGenerationToolBuilder
impl Send for ImageGenerationToolBuilder
impl Sync for ImageGenerationToolBuilder
impl Unpin for ImageGenerationToolBuilder
impl UnsafeUnpin for ImageGenerationToolBuilder
impl UnwindSafe for ImageGenerationToolBuilder
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