pub enum Profile<I = IriBuf> {
    Standard(StandardProfile),
    Custom(I),
}Expand description
Value for the profile parameter defined for the application/ld+json.
Standard values defined by the JSON-LD specification are defined by the
StandardProfile type.
Variants§
Standard(StandardProfile)
Custom(I)
Implementations§
Trait Implementations§
source§impl<I> Ord for Profile<I>where
    I: Ord,
 
impl<I> Ord for Profile<I>where
    I: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<I> PartialEq for Profile<I>where
    I: PartialEq,
 
impl<I> PartialEq for Profile<I>where
    I: PartialEq,
source§impl<I> PartialOrd for Profile<I>where
    I: PartialOrd,
 
impl<I> PartialOrd for Profile<I>where
    I: PartialOrd,
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 moreimpl<I> Copy for Profile<I>where
    I: Copy,
impl<I> Eq for Profile<I>where
    I: Eq,
impl<I> StructuralPartialEq for Profile<I>
Auto Trait Implementations§
impl<I> Freeze for Profile<I>where
    I: Freeze,
impl<I> RefUnwindSafe for Profile<I>where
    I: RefUnwindSafe,
impl<I> Send for Profile<I>where
    I: Send,
impl<I> Sync for Profile<I>where
    I: Sync,
impl<I> Unpin for Profile<I>where
    I: Unpin,
impl<I> UnwindSafe for Profile<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: 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
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.