Enum gmime::ParamEncodingMethod [−][src]
pub enum ParamEncodingMethod {
Default,
Rfc2231,
Rfc2047,
// some variants omitted
}The MIME specifications specify that the proper method for encoding Content-Type and
Content-Disposition parameter values is the method described in
rfc2231</a>. However, it is common for
some older email clients to improperly encode using the method described in
rfc2047</a> instead.
Variants
DefaultRfc2231Rfc2047
Trait Implementations
impl Clone for ParamEncodingMethod[src]
impl Clone for ParamEncodingMethodfn clone(&self) -> ParamEncodingMethod[src]
fn clone(&self) -> ParamEncodingMethodReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for ParamEncodingMethod[src]
impl Copy for ParamEncodingMethodimpl Debug for ParamEncodingMethod[src]
impl Debug for ParamEncodingMethodfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ParamEncodingMethod[src]
impl Eq for ParamEncodingMethodimpl PartialEq for ParamEncodingMethod[src]
impl PartialEq for ParamEncodingMethodfn eq(&self, __arg_0: &ParamEncodingMethod) -> bool[src]
fn eq(&self, __arg_0: &ParamEncodingMethod) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParamEncodingMethod) -> bool[src]
fn ne(&self, __arg_0: &ParamEncodingMethod) -> boolThis method tests for !=.
impl Hash for ParamEncodingMethod[src]
impl Hash for ParamEncodingMethodAuto Trait Implementations
impl Send for ParamEncodingMethod
impl Send for ParamEncodingMethodimpl Sync for ParamEncodingMethod
impl Sync for ParamEncodingMethod