pub enum Type<I = IriBuf> {
    Id,
    Json,
    None,
    Vocab,
    Iri(I),
}Expand description
Object type.
This is the value of a @type entry.
Variants§
Id
@id.
The value must be interpreted as an IRI.
Json
@json.
The value is an arbitrary JSON value.
None
@none
Vocab
@vocab
Iri(I)
IRI type.
Implementations§
Trait Implementations§
source§impl<I> PartialEq for Type<I>where
    I: PartialEq,
 
impl<I> PartialEq for Type<I>where
    I: PartialEq,
impl<I> Eq for Type<I>where
    I: Eq,
impl<I> StructuralPartialEq for Type<I>
Auto Trait Implementations§
impl<I> Freeze for Type<I>where
    I: Freeze,
impl<I> RefUnwindSafe for Type<I>where
    I: RefUnwindSafe,
impl<I> Send for Type<I>where
    I: Send,
impl<I> Sync for Type<I>where
    I: Sync,
impl<I> Unpin for Type<I>where
    I: Unpin,
impl<I> UnwindSafe for Type<I>where
    I: UnwindSafe,
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§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> 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.