pub struct GeneratedImage {
pub mime_type: String,
pub data: Vec<u8>,
}Expand description
A generated image returned by Nano Banana Pro.
Fields§
§mime_type: StringReturned image MIME type.
data: Vec<u8>Decoded image bytes.
Trait Implementations§
Source§impl Clone for GeneratedImage
impl Clone for GeneratedImage
Source§fn clone(&self) -> GeneratedImage
fn clone(&self) -> GeneratedImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeneratedImage
impl Debug for GeneratedImage
impl Eq for GeneratedImage
Source§impl PartialEq for GeneratedImage
impl PartialEq for GeneratedImage
impl StructuralPartialEq for GeneratedImage
Auto Trait Implementations§
impl Freeze for GeneratedImage
impl RefUnwindSafe for GeneratedImage
impl Send for GeneratedImage
impl Sync for GeneratedImage
impl Unpin for GeneratedImage
impl UnsafeUnpin for GeneratedImage
impl UnwindSafe for GeneratedImage
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