pub struct EditImageJsonBodyBuilder(/* private fields */);Expand description
Builder for EditImageJsonBody.
Implementations§
Source§impl EditImageJsonBodyBuilder
impl EditImageJsonBodyBuilder
pub fn background(self, value: impl Into<Option<ImageBackground>>) -> Self
pub fn model(self, value: impl Into<Option<String>>) -> Self
pub fn moderation(self, value: impl Into<Option<ImageModeration>>) -> Self
pub fn n(self, value: impl Into<Option<i64>>) -> Self
pub fn output_compression(self, value: impl Into<Option<i64>>) -> Self
pub fn output_format(self, value: impl Into<Option<ImageOutputFormat>>) -> Self
pub fn partial_images(self, value: impl Into<Option<i64>>) -> Self
pub fn input_fidelity(self, value: impl Into<Option<InputFidelity>>) -> Self
pub fn mask(self, value: impl Into<ImageReference>) -> Self
pub fn quality(self, value: impl Into<Option<EditedImageQuality>>) -> Self
pub fn size(self, value: impl Into<Option<EditedImageSize>>) -> Self
pub fn stream(self, value: impl Into<Option<bool>>) -> Self
pub fn user(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> EditImageJsonBody
pub fn build(self) -> EditImageJsonBody
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for EditImageJsonBodyBuilder
impl RefUnwindSafe for EditImageJsonBodyBuilder
impl Send for EditImageJsonBodyBuilder
impl Sync for EditImageJsonBodyBuilder
impl Unpin for EditImageJsonBodyBuilder
impl UnsafeUnpin for EditImageJsonBodyBuilder
impl UnwindSafe for EditImageJsonBodyBuilder
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