pub struct ResolvedImage {
pub content_type: Mime,
pub bytes: Bytes,
}Expand description
Represents an image that has been resolved where the contents are now know and the content type as well
Fields§
§content_type: MimeContent type of the image
bytes: BytesByte contents of the resolved image
Trait Implementations§
Source§impl Clone for ResolvedImage
impl Clone for ResolvedImage
Source§fn clone(&self) -> ResolvedImage
fn clone(&self) -> ResolvedImage
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 ResolvedImage
impl RefUnwindSafe for ResolvedImage
impl Send for ResolvedImage
impl Sync for ResolvedImage
impl Unpin for ResolvedImage
impl UnwindSafe for ResolvedImage
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