pub struct Decoded {
pub text: String,
pub encoding: String,
pub warnings: Vec<Warning>,
}Expand description
A decoded text file: the text (without BOM), the envelope tag for the skeleton and any warnings.
Fields§
§text: StringThe decoded text.
encoding: StringGoes into Skeleton::Text::encoding; hand it back to encode_text on merge.
warnings: Vec<Warning>What the decoder noticed (text that looks garbled in the code page it was read with).
Trait Implementations§
impl Eq for Decoded
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Forget for Decoded
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more