pub struct ImagesResponse {
pub created: i64,
pub data: Vec<Image>,
pub usage: ImagesResponse_Usage,
}Expand description
The response from the image generation endpoint.
Fields§
§created: i64The Unix timestamp (in seconds) of when the image was created.
data: Vec<Image>The list of generated images.
usage: ImagesResponse_UsageTrait Implementations§
Source§impl Clone for ImagesResponse
impl Clone for ImagesResponse
Source§fn clone(&self) -> ImagesResponse
fn clone(&self) -> ImagesResponse
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 moreAuto 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