Enum json_ld::StandardProfile
source · pub enum StandardProfile {
Expanded,
Compacted,
Context,
Flattened,
Framed,
}
Expand description
Standard profile
parameter values defined for the application/ld+json
.
Variants§
Expanded
To request or specify expanded JSON-LD document form.
Compacted
To request or specify compacted JSON-LD document form.
Context
To request or specify a JSON-LD context document.
Flattened
To request or specify flattened JSON-LD document form.
Framed
To request or specify a JSON-LD framed document.
Implementations§
Trait Implementations§
source§impl Clone for StandardProfile
impl Clone for StandardProfile
source§fn clone(&self) -> StandardProfile
fn clone(&self) -> StandardProfile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StandardProfile
impl Debug for StandardProfile
source§impl Hash for StandardProfile
impl Hash for StandardProfile
source§impl Ord for StandardProfile
impl Ord for StandardProfile
source§fn cmp(&self, other: &StandardProfile) -> Ordering
fn cmp(&self, other: &StandardProfile) -> Ordering
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 PartialEq for StandardProfile
impl PartialEq for StandardProfile
source§fn eq(&self, other: &StandardProfile) -> bool
fn eq(&self, other: &StandardProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StandardProfile
impl PartialOrd for StandardProfile
source§fn partial_cmp(&self, other: &StandardProfile) -> Option<Ordering>
fn partial_cmp(&self, other: &StandardProfile) -> Option<Ordering>
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 Copy for StandardProfile
impl Eq for StandardProfile
impl StructuralPartialEq for StandardProfile
Auto Trait Implementations§
impl Freeze for StandardProfile
impl RefUnwindSafe for StandardProfile
impl Send for StandardProfile
impl Sync for StandardProfile
impl Unpin for StandardProfile
impl UnwindSafe for StandardProfile
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<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.