pub struct ProbeResult {
pub encoding: Encoding,
pub bom_length: usize,
}Expand description
Result of probing the encoding of an XML document.
Fields§
§encoding: EncodingDetected encoding.
bom_length: usizeNumber of BOM bytes consumed (0 if no BOM).
Trait Implementations§
Source§impl Clone for ProbeResult
impl Clone for ProbeResult
Source§fn clone(&self) -> ProbeResult
fn clone(&self) -> ProbeResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ProbeResult
impl Debug for ProbeResult
Source§impl PartialEq for ProbeResult
impl PartialEq for ProbeResult
impl Eq for ProbeResult
impl StructuralPartialEq for ProbeResult
Auto Trait Implementations§
impl Freeze for ProbeResult
impl RefUnwindSafe for ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnsafeUnpin for ProbeResult
impl UnwindSafe for ProbeResult
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