pub struct ImageGenerationResponse {
pub created: i32,
pub data: Vec<ImageGenerationData>,
}Available on crate feature
image only.Fields§
§created: i32§data: Vec<ImageGenerationData>Trait Implementations§
Source§impl Debug for ImageGenerationResponse
impl Debug for ImageGenerationResponse
Source§impl<'de> Deserialize<'de> for ImageGenerationResponse
impl<'de> Deserialize<'de> for ImageGenerationResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImageGenerationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImageGenerationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl TryFrom<ImageGenerationResponse> for ImageGenerationResponse<ImageGenerationResponse>
impl TryFrom<ImageGenerationResponse> for ImageGenerationResponse<ImageGenerationResponse>
Source§type Error = ImageGenerationError
type Error = ImageGenerationError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ImageGenerationResponse,
) -> Result<ImageGenerationResponse<ImageGenerationResponse>, <ImageGenerationResponse<ImageGenerationResponse> as TryFrom<ImageGenerationResponse>>::Error>
fn try_from( value: ImageGenerationResponse, ) -> Result<ImageGenerationResponse<ImageGenerationResponse>, <ImageGenerationResponse<ImageGenerationResponse> as TryFrom<ImageGenerationResponse>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ImageGenerationResponse
impl RefUnwindSafe for ImageGenerationResponse
impl Send for ImageGenerationResponse
impl Sync for ImageGenerationResponse
impl Unpin for ImageGenerationResponse
impl UnsafeUnpin for ImageGenerationResponse
impl UnwindSafe for ImageGenerationResponse
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