pub enum Version {
    V1_1,
}Expand description
Version number.
The only allowed value is a number with the value 1.1.
Variants§
V1_1
Implementations§
Trait Implementations§
Source§impl Ord for Version
 
impl Ord for Version
Source§impl PartialOrd for Version
 
impl PartialOrd for Version
Source§impl PrecomputeSize for Version
 
impl PrecomputeSize for Version
Source§impl Print for Version
 
impl Print for Version
fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize, ) -> Result
Source§fn pretty_print(&self) -> Printed<'_, Self>
 
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with 
Options::pretty options.Source§fn compact_print(&self) -> Printed<'_, Self>
 
fn compact_print(&self) -> Printed<'_, Self>
Print the value with 
Options::compact options.Source§fn inline_print(&self) -> Printed<'_, Self>
 
fn inline_print(&self) -> Printed<'_, Self>
Print the value with 
Options::inline options.Source§fn print_with(&self, options: Options) -> Printed<'_, Self>
 
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
Source§impl TryFromJson for Version
 
impl TryFromJson for Version
type Error = InvalidContext
fn try_from_json(value: Value) -> Result<Self, InvalidContext>
impl Copy for Version
impl Eq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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> BorrowUnordered for T
 
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CallHasher for T
 
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
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.