[][src]Enum mtots_core::Key

pub enum Key {
    Nil,
    Bool(bool),
    NumberBits(i64),
    String(RcStr),
    List(Vec<Key>),
    Set(HSet),
}

Variants

Nil
Bool(bool)
NumberBits(i64)
String(RcStr)
List(Vec<Key>)
Set(HSet)

Trait Implementations

impl Clone for Key[src]

impl Debug for Key[src]

impl Eq for Key[src]

impl<'_> From<&'_ Key> for Value[src]

impl<'_> From<&'_ String> for Key[src]

impl<'_> From<&'_ str> for Key[src]

impl From<()> for Key[src]

impl From<Key> for Value[src]

impl From<RcStr> for Key[src]

impl From<String> for Key[src]

impl From<bool> for Key[src]

impl FromIterator<Key> for List[src]

impl FromIterator<Key> for Set[src]

impl Hash for Key[src]

impl Ord for Key[src]

impl PartialEq<Key> for Key[src]

impl PartialOrd<Key> for Key[src]

impl StructuralEq for Key[src]

impl StructuralPartialEq for Key[src]

impl<'_> TryFrom<&'_ Value> for Key[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<Value> for Key[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl !RefUnwindSafe for Key

impl !Send for Key

impl !Sync for Key

impl Unpin for Key

impl UnwindSafe for Key

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.