pub struct ImageEditPartialImageEvent {
pub b64_json: String,
pub background: ImageEditPartialImageEventBackground,
pub created_at: i64,
pub output_format: ImageEditPartialImageEventOutputFormat,
pub partial_image_index: i64,
pub quality: ImageEditPartialImageEventQuality,
pub size: ImageEditPartialImageEventSize,
pub type_: String,
}Expand description
Emitted when a partial image is available during image editing streaming.
Fields§
§b64_json: StringBase64-encoded partial image data, suitable for rendering as an image.
background: ImageEditPartialImageEventBackgroundThe background setting for the requested edited image.
created_at: i64The Unix timestamp when the event was created.
output_format: ImageEditPartialImageEventOutputFormatThe output format for the requested edited image.
partial_image_index: i640-based index for the partial image (streaming).
quality: ImageEditPartialImageEventQualityThe quality setting for the requested edited image.
size: ImageEditPartialImageEventSizeThe size of the requested edited image.
type_: StringThe type of the event. Always image_edit.partial_image.
Trait Implementations§
Source§impl Clone for ImageEditPartialImageEvent
impl Clone for ImageEditPartialImageEvent
Source§fn clone(&self) -> ImageEditPartialImageEvent
fn clone(&self) -> ImageEditPartialImageEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageEditPartialImageEvent
impl Debug for ImageEditPartialImageEvent
Source§impl<'de> Deserialize<'de> for ImageEditPartialImageEvent
impl<'de> Deserialize<'de> for ImageEditPartialImageEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImageEditPartialImageEvent
impl RefUnwindSafe for ImageEditPartialImageEvent
impl Send for ImageEditPartialImageEvent
impl Sync for ImageEditPartialImageEvent
impl Unpin for ImageEditPartialImageEvent
impl UnsafeUnpin for ImageEditPartialImageEvent
impl UnwindSafe for ImageEditPartialImageEvent
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