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> PartialOrd for Profile<I>where
I: PartialOrd,
impl<I> PartialOrd for Profile<I>where
I: PartialOrd,
impl<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: 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
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.