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); }

Trait containing all Param methods.

Implementors

Param

Required Methods

Gets the charset used for encoding the parameter.

Returns

the charset used for encoding the parameter.

Gets the encoding method used for encoding the parameter.

Returns

the encoding method used for encoding the parameter.

Gets the language specifier used for encoding the parameter.

Returns

the language specifier used for encoding the parameter.

Gets the name of the parameter.

Returns

the name of the parameter.

Gets the value of the parameter.

Returns

the value of the parameter.

Sets the parameter charset used for encoding the value.

charset

the charset or None to use the default

Sets the encoding method used for encoding the value.

method

a ParamEncodingMethod

Sets the parameter language specifier used for encoding the value.

lang

the language specifier

Sets the parameter value to value.

value

the new parameter value

Implementors