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