Struct openai_req::image::ImageResponse
source · pub struct ImageResponse {
pub created: i64,
pub data: Vec<ImageData>,
}
Fields§
§created: i64
§data: Vec<ImageData>
Trait Implementations§
source§impl Clone for ImageResponse
impl Clone for ImageResponse
source§fn clone(&self) -> ImageResponse
fn clone(&self) -> ImageResponse
Returns a copy 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 ImageResponse
impl Debug for ImageResponse
source§impl<'de> Deserialize<'de> for ImageResponse
impl<'de> Deserialize<'de> for ImageResponse
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