Enum json_ld_core::ContainerKind
source · [−]pub enum ContainerKind {
Graph,
Id,
Index,
Language,
List,
Set,
Type,
}
Variants
Graph
Id
Index
Language
List
Set
Type
Implementations
Trait Implementations
sourceimpl Clone for ContainerKind
impl Clone for ContainerKind
sourcefn clone(&self) -> ContainerKind
fn clone(&self) -> ContainerKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContainerKind
impl Debug for ContainerKind
sourceimpl From<ContainerKind> for Container
impl From<ContainerKind> for Container
sourcefn from(c: ContainerKind) -> Self
fn from(c: ContainerKind) -> Self
Converts to this type from the input type.
sourceimpl Hash for ContainerKind
impl Hash for ContainerKind
sourceimpl<M> IntoJsonMeta<M> for ContainerKind
impl<M> IntoJsonMeta<M> for ContainerKind
fn into_json_meta(self, meta: M) -> Meta<Value<M>, M>
sourceimpl Ord for ContainerKind
impl Ord for ContainerKind
sourcefn cmp(&self, other: &ContainerKind) -> Ordering
fn cmp(&self, other: &ContainerKind) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ContainerKind> for ContainerKind
impl PartialEq<ContainerKind> for ContainerKind
sourcefn eq(&self, other: &ContainerKind) -> bool
fn eq(&self, other: &ContainerKind) -> bool
sourceimpl PartialOrd<ContainerKind> for ContainerKind
impl PartialOrd<ContainerKind> for ContainerKind
sourcefn partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
fn partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl PrecomputeSize for ContainerKind
impl PrecomputeSize for ContainerKind
sourceimpl Print for ContainerKind
impl Print for ContainerKind
fn fmt_with(
&self,
f: &mut Formatter<'_>,
_options: &Options,
_indent: usize
) -> Result<(), Error>
sourcefn pretty_print(&self) -> Printed<'_, Self>
fn pretty_print(&self) -> Printed<'_, Self>
Print the value with
Options::pretty
options.sourcefn compact_print(&self) -> Printed<'_, Self>
fn compact_print(&self) -> Printed<'_, Self>
Print the value with
Options::compact
options.sourcefn inline_print(&self) -> Printed<'_, Self>
fn inline_print(&self) -> Printed<'_, Self>
Print the value with
Options::inline
options.sourcefn print_with(&self, options: Options) -> Printed<'_, Self>
fn print_with(&self, options: Options) -> Printed<'_, Self>
Print the value with the given options.
sourceimpl PrintWithSize for ContainerKind
impl PrintWithSize for ContainerKind
sourceimpl StrippedOrd for ContainerKind
impl StrippedOrd for ContainerKind
fn stripped_cmp(&self, other: &ContainerKind) -> Ordering
sourceimpl StrippedPartialEq<ContainerKind> for ContainerKind
impl StrippedPartialEq<ContainerKind> for ContainerKind
fn stripped_eq(&self, other: &ContainerKind) -> bool
sourceimpl StrippedPartialOrd<ContainerKind> for ContainerKind
impl StrippedPartialOrd<ContainerKind> for ContainerKind
fn stripped_partial_cmp(&self, other: &ContainerKind) -> Option<Ordering>
sourceimpl<'a> TryFrom<&'a str> for ContainerKind
impl<'a> TryFrom<&'a str> for ContainerKind
sourceimpl TryFrom<Keyword> for ContainerKind
impl TryFrom<Keyword> for ContainerKind
sourceimpl<M> TryFromJson<M> for ContainerKind
impl<M> TryFromJson<M> for ContainerKind
type Error = InvalidContext
fn try_from_json(
Meta<Value<M>, M>
) -> Result<Meta<ContainerKind, 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.