[][src]Enum typedb::Value

pub enum Value {
    String(String),
    Int(i32),
    Float(f32),
    Map(HashMap<String, Value>),
    List(Vec<Value>),
}

A default value type to use with KV

Variants

String(String)

Cab default Value type for strings

Int(i32)

Cab default Value type for intergers

Float(f32)

Cab default Value type for floats

Map(HashMap<String, Value>)

Cab default Value type for a sub map

List(Vec<Value>)

Cab default Value type for list

Trait Implementations

impl Clone for Value[src]

impl PartialEq<Value> for Value[src]

impl Debug for Value[src]

impl Serialize for Value[src]

impl<'de> Deserialize<'de> for Value[src]

Auto Trait Implementations

impl Sync for Value

impl Send for Value

impl Unpin for Value

impl UnwindSafe for Value

impl RefUnwindSafe for Value

Blanket Implementations

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> From<T> for T[src]

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,