pub struct ImageResponse {
pub data: Vec<u8>,
pub content_type: Option<String>,
}Expand description
Simplified image response from the core trait.
Fields§
§data: Vec<u8>§content_type: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ImageResponse
impl Clone for ImageResponse
Source§fn clone(&self) -> ImageResponse
fn clone(&self) -> ImageResponse
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 moreAuto Trait Implementations§
impl Freeze for ImageResponse
impl RefUnwindSafe for ImageResponse
impl Send for ImageResponse
impl Sync for ImageResponse
impl Unpin for ImageResponse
impl UnsafeUnpin for ImageResponse
impl UnwindSafe for ImageResponse
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