pub struct DataUriContent {
pub mime_type: String,
pub bytes: Vec<u8>,
}Expand description
Content extracted from a data URI
Fields§
§mime_type: StringThe MIME type of the content (e.g., “image/png”)
bytes: Vec<u8>The decoded bytes of the content
Trait Implementations§
Source§impl Clone for DataUriContent
impl Clone for DataUriContent
Source§fn clone(&self) -> DataUriContent
fn clone(&self) -> DataUriContent
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 moreSource§impl Debug for DataUriContent
impl Debug for DataUriContent
Source§impl PartialEq for DataUriContent
impl PartialEq for DataUriContent
impl Eq for DataUriContent
impl StructuralPartialEq for DataUriContent
Auto Trait Implementations§
impl Freeze for DataUriContent
impl RefUnwindSafe for DataUriContent
impl Send for DataUriContent
impl Sync for DataUriContent
impl Unpin for DataUriContent
impl UnsafeUnpin for DataUriContent
impl UnwindSafe for DataUriContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.