pub struct ParsedDataUri {
pub source_type: String,
pub data: String,
pub mime_type: String,
}Expand description
Parsed data URI components.
Fields§
§source_type: StringSource type (always “base64” for data URIs).
data: StringThe base64-encoded data.
mime_type: StringThe MIME type of the data.
Trait Implementations§
Source§impl Clone for ParsedDataUri
impl Clone for ParsedDataUri
Source§fn clone(&self) -> ParsedDataUri
fn clone(&self) -> ParsedDataUri
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 ParsedDataUri
impl Debug for ParsedDataUri
Source§impl<'de> Deserialize<'de> for ParsedDataUri
impl<'de> Deserialize<'de> for ParsedDataUri
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParsedDataUri
impl RefUnwindSafe for ParsedDataUri
impl Send for ParsedDataUri
impl Sync for ParsedDataUri
impl Unpin for ParsedDataUri
impl UnwindSafe for ParsedDataUri
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