pub enum XmlVersion {
Implicit1_0,
Explicit1_0,
Explicit1_1,
}Expand description
Version of XML standard
Variants§
Implicit1_0
XML declaration was missed in the entity (root document or referenced external DTD), so according to the specification, version 1.0 is assumed. Most documents in the world are still XML 1.0 documents.
Explicit1_0
XML version was specified as 1.0 in the entity (root document or referenced
external DTD).
Explicit1_1
XML version was specified as 1.1 in the entity (root document or referenced
external DTD).
Trait Implementations§
Source§impl Clone for XmlVersion
impl Clone for XmlVersion
Source§fn clone(&self) -> XmlVersion
fn clone(&self) -> XmlVersion
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 XmlVersion
impl Debug for XmlVersion
Source§impl Default for XmlVersion
impl Default for XmlVersion
Source§impl Hash for XmlVersion
impl Hash for XmlVersion
Source§impl PartialEq for XmlVersion
impl PartialEq for XmlVersion
Source§fn eq(&self, other: &XmlVersion) -> bool
fn eq(&self, other: &XmlVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for XmlVersion
impl Eq for XmlVersion
impl StructuralPartialEq for XmlVersion
Auto Trait Implementations§
impl Freeze for XmlVersion
impl RefUnwindSafe for XmlVersion
impl Send for XmlVersion
impl Sync for XmlVersion
impl Unpin for XmlVersion
impl UnsafeUnpin for XmlVersion
impl UnwindSafe for XmlVersion
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