[][src]Enum faunadb::client::AnnotatedValue

pub enum AnnotatedValue {
    Ref(Ref<'static>),
    Query(Box<Value>),
    Bytes(Bytes<'static>),
    Date(NaiveDate),
    Set(Box<Value>),
    Timestamp(DateTime<Utc>),
}

Variants

Ref(Ref<'static>)

Denotes a resource ref. Refs may be extracted from instances, or constructed using the ref function.

Query(Box<Value>)

Denotes a query expression object.

Bytes(Bytes<'static>)

Denotes a base64 encoded string representing a byte array. Decoded to bytes when deserialized.

Date(NaiveDate)

Denotes a date, with no associated time zone.

Set(Box<Value>)

Denotes a set identifier.

Timestamp(DateTime<Utc>)

Stores an instant in time expressed as a calendar date and time of day in UTC.

Trait Implementations

impl PartialEq<AnnotatedValue> for AnnotatedValue[src]

impl Clone for AnnotatedValue[src]

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

Performs copy-assignment from source. Read more

impl Debug for AnnotatedValue[src]

impl Serialize for AnnotatedValue[src]

impl<'de> Deserialize<'de> for AnnotatedValue[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