Struct encoded_words::DecodingResult
source · [−]pub struct DecodingResult {
pub decoded: String,
pub charset: Charset,
pub lang: String,
pub defects: Vec<Defect>,
}
Expand description
The result from decoding an encoded word.
Fields
decoded: String
charset: Charset
lang: String
defects: Vec<Defect>
Trait Implementations
sourceimpl Clone for DecodingResult
impl Clone for DecodingResult
sourcefn clone(&self) -> DecodingResult
fn clone(&self) -> DecodingResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DecodingResult
impl Debug for DecodingResult
sourceimpl PartialEq<DecodingResult> for DecodingResult
impl PartialEq<DecodingResult> for DecodingResult
sourcefn eq(&self, other: &DecodingResult) -> bool
fn eq(&self, other: &DecodingResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DecodingResult) -> bool
fn ne(&self, other: &DecodingResult) -> bool
This method tests for !=
.
impl StructuralPartialEq for DecodingResult
Auto Trait Implementations
impl RefUnwindSafe for DecodingResult
impl Send for DecodingResult
impl Sync for DecodingResult
impl Unpin for DecodingResult
impl UnwindSafe for DecodingResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more