pub struct DecodedImage {
pub content_type: String,
pub bytes: Vec<u8>,
}Expand description
An image’s content type and decoded bytes.
Fields§
§content_type: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for DecodedImage
impl Clone for DecodedImage
Source§impl Debug for DecodedImage
impl Debug for DecodedImage
impl Eq for DecodedImage
Source§impl PartialEq for DecodedImage
impl PartialEq for DecodedImage
impl StructuralPartialEq for DecodedImage
Auto Trait Implementations§
impl Freeze for DecodedImage
impl RefUnwindSafe for DecodedImage
impl Send for DecodedImage
impl Sync for DecodedImage
impl Unpin for DecodedImage
impl UnsafeUnpin for DecodedImage
impl UnwindSafe for DecodedImage
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