pub struct ImageEditCompletedEvent {
pub b64_json: String,
pub created_at: u32,
pub size: ImageSize,
pub quality: ImageQuality,
pub background: ImageBackground,
pub output_format: ImageOutputFormat,
pub usage: ImageGenUsage,
}Expand description
Emitted when image editing has completed and the final image is available.
Fields§
§b64_json: StringBase64-encoded final image data, suitable for rendering as an image.
created_at: u32The Unix timestamp when the event was created.
size: ImageSizeThe size of the edited image.
quality: ImageQualityThe quality setting for the edited image.
background: ImageBackgroundThe background setting for the edited image.
output_format: ImageOutputFormatThe output format for the edited image.
usage: ImageGenUsageToken usage information for the image edit.
Trait Implementations§
Source§impl Clone for ImageEditCompletedEvent
impl Clone for ImageEditCompletedEvent
Source§fn clone(&self) -> ImageEditCompletedEvent
fn clone(&self) -> ImageEditCompletedEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 ImageEditCompletedEvent
impl Debug for ImageEditCompletedEvent
Source§impl<'de> Deserialize<'de> for ImageEditCompletedEvent
impl<'de> Deserialize<'de> for ImageEditCompletedEvent
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
Source§impl EventType for ImageEditCompletedEvent
impl EventType for ImageEditCompletedEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
Auto Trait Implementations§
impl Freeze for ImageEditCompletedEvent
impl RefUnwindSafe for ImageEditCompletedEvent
impl Send for ImageEditCompletedEvent
impl Sync for ImageEditCompletedEvent
impl Unpin for ImageEditCompletedEvent
impl UnwindSafe for ImageEditCompletedEvent
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