Enum json_ld_core::loader::Profile
source · pub enum Profile<I> {
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> Ord for Profile<I>
impl<I: Ord> Ord for Profile<I>
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> PartialEq<Profile<I>> for Profile<I>
impl<I: PartialEq> PartialEq<Profile<I>> for Profile<I>
source§impl<I: PartialOrd> PartialOrd<Profile<I>> for Profile<I>
impl<I: PartialOrd> PartialOrd<Profile<I>> for Profile<I>
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> Copy for Profile<I>
impl<I: Eq> Eq for Profile<I>
impl<I> StructuralEq for Profile<I>
impl<I> StructuralPartialEq for Profile<I>
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.