pub struct ImageGenerationCallOutput {
pub id: String,
pub result: Option<String>,
pub status: String,
}
Expand description
Output of an image generation request.
Fields§
§id: String
Unique ID of the image generation call.
result: Option<String>
Base64-encoded generated image, or null.
status: String
Status of the image generation call.
Trait Implementations§
Source§impl Clone for ImageGenerationCallOutput
impl Clone for ImageGenerationCallOutput
Source§fn clone(&self) -> ImageGenerationCallOutput
fn clone(&self) -> ImageGenerationCallOutput
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 ImageGenerationCallOutput
impl Debug for ImageGenerationCallOutput
Source§impl<'de> Deserialize<'de> for ImageGenerationCallOutput
impl<'de> Deserialize<'de> for ImageGenerationCallOutput
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
impl StructuralPartialEq for ImageGenerationCallOutput
Auto Trait Implementations§
impl Freeze for ImageGenerationCallOutput
impl RefUnwindSafe for ImageGenerationCallOutput
impl Send for ImageGenerationCallOutput
impl Sync for ImageGenerationCallOutput
impl Unpin for ImageGenerationCallOutput
impl UnwindSafe for ImageGenerationCallOutput
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