Enum uhttp_media_type::ParamValue
[−]
[src]
pub enum ParamValue<'a> { Unquoted(&'a str), Quoted(&'a str), }
A value for a media type parameter.
Variants
Unquoted(&'a str)
Value is in simple, unquoted form.
The inner string is guaranteed to be nonempty and free of surrounding whitespace but may contain internal whitespace.
Quoted(&'a str)
Value is in quoted form.
The inner string contains the text inside the quotes, which may empty, may contain internal and surrounding whitespace, or may contain backslash-escaped characters that require further processing.
Methods
impl<'a> ParamValue<'a>
[src]
Trait Implementations
impl<'a> Copy for ParamValue<'a>
[src]
impl<'a> Clone for ParamValue<'a>
[src]
fn clone(&self) -> ParamValue<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Eq for ParamValue<'a>
[src]
impl<'a> PartialEq for ParamValue<'a>
[src]
fn eq(&self, __arg_0: &ParamValue<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParamValue<'a>) -> bool
This method tests for !=
.