Trait gmime::ParamExt [−][src]
pub trait ParamExt { fn get_charset(&self) -> Option<String>; fn get_encoding_method(&self) -> ParamEncodingMethod; fn get_lang(&self) -> Option<String>; fn get_name(&self) -> Option<String>; fn get_value(&self) -> Option<String>; fn set_charset(&self, charset: &str); fn set_encoding_method(&self, method: ParamEncodingMethod); fn set_lang(&self, lang: &str); fn set_value(&self, value: &str); }
Required Methods
fn get_charset(&self) -> Option<String>
Gets the charset used for encoding the parameter.
Returns
the charset used for encoding the parameter.
fn get_encoding_method(&self) -> ParamEncodingMethod
Gets the encoding method used for encoding the parameter.
Returns
the encoding method used for encoding the parameter.
fn get_lang(&self) -> Option<String>
Gets the language specifier used for encoding the parameter.
Returns
the language specifier used for encoding the parameter.
fn get_name(&self) -> Option<String>
fn get_value(&self) -> Option<String>
fn set_charset(&self, charset: &str)
Sets the parameter charset used for encoding the value.
charset
the charset or None
to use the default
fn set_encoding_method(&self, method: ParamEncodingMethod)
fn set_lang(&self, lang: &str)
fn set_value(&self, value: &str)
Implementors
impl<O: IsA<Param>> ParamExt for O