pub struct ImageGenerationCall {
pub id: String,
pub result: Option<String>,
pub status: ImageGenerationCallStatus,
pub type_: String,
}Expand description
An image generation request made by the model.
Fields§
§id: StringThe unique ID of the image generation call.
result: Option<String>The generated image encoded in base64.
status: ImageGenerationCallStatusThe status of the image generation call.
type_: StringThe type of the image generation call. Always image_generation_call.
Trait Implementations§
Source§impl Clone for ImageGenerationCall
impl Clone for ImageGenerationCall
Source§fn clone(&self) -> ImageGenerationCall
fn clone(&self) -> ImageGenerationCall
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 ImageGenerationCall
impl Debug for ImageGenerationCall
Source§impl<'de> Deserialize<'de> for ImageGenerationCall
impl<'de> Deserialize<'de> for ImageGenerationCall
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 ImageGenerationCall
impl RefUnwindSafe for ImageGenerationCall
impl Send for ImageGenerationCall
impl Sync for ImageGenerationCall
impl Unpin for ImageGenerationCall
impl UnsafeUnpin for ImageGenerationCall
impl UnwindSafe for ImageGenerationCall
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