Enum json_ld_syntax::context::definition::Version   
source · 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 PartialEq for Version
 
impl PartialEq for Version
source§impl PartialOrd for Version
 
impl PartialOrd for Version
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§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: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.