pub enum SerdeXmlRsVersion {
Version07AndBelow,
Version08AndAbove,
}
Expand description
Version of serde-xml-rs
to render the code for.
Variants§
Version07AndBelow
Render code for serde-xml-rs <= 0.7
.
Version08AndAbove
Render code for serde-xml-rs >= 0.8
.
Trait Implementations§
Source§impl Clone for SerdeXmlRsVersion
impl Clone for SerdeXmlRsVersion
Source§fn clone(&self) -> SerdeXmlRsVersion
fn clone(&self) -> SerdeXmlRsVersion
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 SerdeXmlRsVersion
impl Debug for SerdeXmlRsVersion
Source§impl PartialEq for SerdeXmlRsVersion
impl PartialEq for SerdeXmlRsVersion
impl Copy for SerdeXmlRsVersion
impl Eq for SerdeXmlRsVersion
impl StructuralPartialEq for SerdeXmlRsVersion
Auto Trait Implementations§
impl Freeze for SerdeXmlRsVersion
impl RefUnwindSafe for SerdeXmlRsVersion
impl Send for SerdeXmlRsVersion
impl Sync for SerdeXmlRsVersion
impl Unpin for SerdeXmlRsVersion
impl UnwindSafe for SerdeXmlRsVersion
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.