[−][src]Enum faunadb::client::SimpleValue
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]
fn eq(&self, other: &SimpleValue) -> bool
[src]
fn ne(&self, other: &SimpleValue) -> bool
[src]
impl Clone for SimpleValue
[src]
fn clone(&self) -> 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]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for SimpleValue
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for SimpleValue
impl Send for SimpleValue
impl Unpin for SimpleValue
impl RefUnwindSafe for SimpleValue
impl UnwindSafe for SimpleValue
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,