pub struct ImageResponseFormatBuilder(/* private fields */);Expand description
Builder for ImageResponseFormat.
Implementations§
Source§impl ImageResponseFormatBuilder
impl ImageResponseFormatBuilder
pub fn mime_type(self, value: impl Into<ImageMimeType>) -> Self
pub fn delivery(self, value: impl Into<Delivery>) -> Self
pub fn aspect_ratio(self, value: impl Into<AspectRatio>) -> Self
pub fn image_size(self, value: impl Into<ImageSize>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> ImageResponseFormat
pub fn build(self) -> ImageResponseFormat
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for ImageResponseFormatBuilder
impl RefUnwindSafe for ImageResponseFormatBuilder
impl Send for ImageResponseFormatBuilder
impl Sync for ImageResponseFormatBuilder
impl Unpin for ImageResponseFormatBuilder
impl UnsafeUnpin for ImageResponseFormatBuilder
impl UnwindSafe for ImageResponseFormatBuilder
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