pub struct ImagesResponse {
pub created: i64,
pub data: Option<Vec<Image>>,
pub usage: Option<ImagesResponse_Usage>,
}
Expand description
The response from the image generation endpoint.
Fields§
§created: i64
The Unix timestamp (in seconds) of when the image was created.
data: Option<Vec<Image>>
The list of generated images.
usage: Option<ImagesResponse_Usage>
Trait Implementations§
Source§impl Clone for ImagesResponse
impl Clone for ImagesResponse
Source§fn clone(&self) -> ImagesResponse
fn clone(&self) -> ImagesResponse
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 ImagesResponse
impl Debug for ImagesResponse
Source§impl Default for ImagesResponse
impl Default for ImagesResponse
Source§fn default() -> ImagesResponse
fn default() -> ImagesResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImagesResponse
impl RefUnwindSafe for ImagesResponse
impl Send for ImagesResponse
impl Sync for ImagesResponse
impl Unpin for ImagesResponse
impl UnwindSafe for ImagesResponse
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