[][src]Enum faunadb::client::SimpleValue

pub enum SimpleValue {
    String(String),
    Number(Number),
    Boolean(bool),
    Array(Vec<Value>),
    Object(BTreeMap<String, Value>),
    Null,
}

Variants

String(String)

String data types store any letters, numbers, whitespaces, and/or symbols in a fixed order.

Number(Number)

Numbers are any real number which are bounded by double precision (64-bit).

Boolean(bool)

The boolean data type can only store "true" or "false" values. These can be directly compared for equality or inequality.

Array(Vec<Value>)

An array is a data structure that contains a group of elements. Typically the elements of an array are of the same or related type.

Object(BTreeMap<String, Value>)

Object values are a collection of key/value pairs.

Null

Null is a special marker used to indicate that a data value does not exist. It is a representation of missing information. A null value indicates a lack of a value. A lack of a value is not the same thing as a value of zero, in the same way that a lack of an answer is not the same thing as an answer of "no".

Trait Implementations

impl PartialEq<SimpleValue> for SimpleValue[src]

impl Clone for SimpleValue[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for SimpleValue[src]

impl Serialize for SimpleValue[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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<T> Erased for T