pub struct ImageCall {
pub images: Vec<GeneratedImage>,
pub warnings: Vec<Warning>,
pub response: ResponseMetadata,
pub provider_metadata: Option<ProviderMetadata>,
pub usage: Option<ImageUsage>,
}Expand description
One provider call of generate_image.
Fields§
§images: Vec<GeneratedImage>Images of this call.
warnings: Vec<Warning>Warnings of this call.
response: ResponseMetadataResponse metadata of this call.
provider_metadata: Option<ProviderMetadata>Provider metadata of this call.
usage: Option<ImageUsage>Usage of this call.
Trait Implementations§
impl StructuralPartialEq for ImageCall
Auto Trait Implementations§
impl Freeze for ImageCall
impl RefUnwindSafe for ImageCall
impl Send for ImageCall
impl Sync for ImageCall
impl Unpin for ImageCall
impl UnsafeUnpin for ImageCall
impl UnwindSafe for ImageCall
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