pub struct ImageModelGenerationResult {
pub images: Vec<ImageModelFileData>,
pub warnings: Option<Vec<Warning>>,
pub provider_metadata: Option<Record<String, ImageModelGenerationResultProviderMetadata>>,
pub response: ImageModelGenerationResultResponse,
pub usage: Option<ImageModelUsage>,
}Fields§
§images: Vec<ImageModelFileData>§warnings: Option<Vec<Warning>>§provider_metadata: Option<Record<String, ImageModelGenerationResultProviderMetadata>>§response: ImageModelGenerationResultResponse§usage: Option<ImageModelUsage>Trait Implementations§
Source§impl Clone for ImageModelGenerationResult
impl Clone for ImageModelGenerationResult
Source§fn clone(&self) -> ImageModelGenerationResult
fn clone(&self) -> ImageModelGenerationResult
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 moreAuto Trait Implementations§
impl Freeze for ImageModelGenerationResult
impl RefUnwindSafe for ImageModelGenerationResult
impl Send for ImageModelGenerationResult
impl Sync for ImageModelGenerationResult
impl Unpin for ImageModelGenerationResult
impl UnsafeUnpin for ImageModelGenerationResult
impl UnwindSafe for ImageModelGenerationResult
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