pub struct DecodedLine {
pub text: String,
pub decode: Utf8Decode,
}Expand description
A decoded log line plus the UTF-8 verdict for its bytes.
Fields§
§text: StringLossy-recovered text (U+FFFD for invalid bytes) so the record is preserved.
decode: Utf8DecodeTrait Implementations§
Source§impl Clone for DecodedLine
impl Clone for DecodedLine
Source§fn clone(&self) -> DecodedLine
fn clone(&self) -> DecodedLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodedLine
impl Debug for DecodedLine
impl Eq for DecodedLine
Source§impl PartialEq for DecodedLine
impl PartialEq for DecodedLine
Source§fn eq(&self, other: &DecodedLine) -> bool
fn eq(&self, other: &DecodedLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodedLine
Auto Trait Implementations§
impl Freeze for DecodedLine
impl RefUnwindSafe for DecodedLine
impl Send for DecodedLine
impl Sync for DecodedLine
impl Unpin for DecodedLine
impl UnsafeUnpin for DecodedLine
impl UnwindSafe for DecodedLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.