Enum json_ld_syntax::container::ContainerKind  
source · pub enum ContainerKind {
    Graph,
    Id,
    Index,
    Language,
    List,
    Set,
    Type,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ContainerKind
 
impl Clone for ContainerKind
source§fn clone(&self) -> ContainerKind
 
fn clone(&self) -> ContainerKind
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 ContainerKind
 
impl Debug for ContainerKind
source§impl<M> From<ContainerKind> for Container<M>
 
impl<M> From<ContainerKind> for Container<M>
source§fn from(c: ContainerKind) -> Self
 
fn from(c: ContainerKind) -> Self
Converts to this type from the input type.
source§impl From<ContainerKind> for Keyword
 
impl From<ContainerKind> for Keyword
source§fn from(c: ContainerKind) -> Keyword
 
fn from(c: ContainerKind) -> Keyword
Converts to this type from the input type.
source§impl Hash for ContainerKind
 
impl Hash for ContainerKind
source§impl<M> IntoJsonMeta<M> for ContainerKind
 
impl<M> IntoJsonMeta<M> for ContainerKind
fn into_json_meta(self, meta: M) -> Meta<Value<M>, M>
source§impl Ord for ContainerKind
 
impl Ord for ContainerKind
source§fn cmp(&self, other: &ContainerKind) -> Ordering
 
fn cmp(&self, other: &ContainerKind) -> 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<ContainerKind> for ContainerKind
 
impl PartialEq<ContainerKind> for ContainerKind
source§fn eq(&self, other: &ContainerKind) -> bool
 
fn eq(&self, other: &ContainerKind) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ContainerKind> for ContainerKind
 
impl PartialOrd<ContainerKind> for ContainerKind
source§fn partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
 
fn partial_cmp(&self, other: &ContainerKind) -> 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 moresource§impl PrecomputeSize for ContainerKind
 
impl PrecomputeSize for ContainerKind
source§impl Print for ContainerKind
 
impl Print for ContainerKind
fn fmt_with( &self, f: &mut Formatter<'_>, _options: &Options, _indent: usize ) -> Result
source§fn pretty_print(&self) -> Printed<'_, Self>
 
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with 
Options::pretty options.source§fn compact_print(&self) -> Printed<'_, Self>
 
fn compact_print(&self) -> Printed<'_, Self>
Print the value with 
Options::compact options.source§fn inline_print(&self) -> Printed<'_, Self>
 
fn inline_print(&self) -> Printed<'_, Self>
Print the value with 
Options::inline options.source§fn print_with(&self, options: Options) -> Printed<'_, Self>
 
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
source§impl PrintWithSize for ContainerKind
 
impl PrintWithSize for ContainerKind
source§impl StrippedOrd for ContainerKind
 
impl StrippedOrd for ContainerKind
fn stripped_cmp(&self, other: &Self) -> Ordering
source§impl StrippedPartialEq<ContainerKind> for ContainerKind
 
impl StrippedPartialEq<ContainerKind> for ContainerKind
fn stripped_eq(&self, other: &ContainerKind) -> bool
source§impl StrippedPartialOrd<ContainerKind> for ContainerKind
 
impl StrippedPartialOrd<ContainerKind> for ContainerKind
fn stripped_partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
source§impl<'a> TryFrom<&'a str> for ContainerKind
 
impl<'a> TryFrom<&'a str> for ContainerKind
source§impl TryFrom<Keyword> for ContainerKind
 
impl TryFrom<Keyword> for ContainerKind
source§impl<M> TryFromJson<M> for ContainerKind
 
impl<M> TryFromJson<M> for ContainerKind
type Error = InvalidContext
fn try_from_json( Meta: Meta<Value<M>, M> ) -> Result<Meta<Self, M>, Meta<InvalidContext, M>>
impl Copy for ContainerKind
impl Eq for ContainerKind
impl StrippedEq for ContainerKind
impl StructuralEq for ContainerKind
impl StructuralPartialEq for ContainerKind
Auto Trait Implementations§
impl RefUnwindSafe for ContainerKind
impl Send for ContainerKind
impl Sync for ContainerKind
impl Unpin for ContainerKind
impl UnwindSafe for ContainerKind
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.