Struct data_url::mime::Mime
[−]
[src]
pub struct Mime {
pub type_: String,
pub subtype: String,
pub parameters: Vec<(String, String)>,
}Fields
type_: String
subtype: String
parameters: Vec<(String, String)>
(name, value)
Methods
impl Mime[src]
Trait Implementations
impl Debug for Mime[src]
impl PartialEq for Mime[src]
fn eq(&self, __arg_0: &Mime) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Mime) -> bool[src]
This method tests for !=.
impl Eq for Mime[src]
impl FromStr for Mime[src]
type Err = MimeParsingError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>[src]
Parses a string s to return a value of this type. Read more