[][src]Struct google_datastore1_beta3::Value

pub struct Value {
    pub entity_value: Option<Entity>,
    pub timestamp_value: Option<String>,
    pub geo_point_value: Option<LatLng>,
    pub blob_value: Option<String>,
    pub double_value: Option<f64>,
    pub meaning: Option<i32>,
    pub exclude_from_indexes: Option<bool>,
    pub string_value: Option<String>,
    pub key_value: Option<Key>,
    pub boolean_value: Option<bool>,
    pub array_value: Option<ArrayValue>,
    pub integer_value: Option<String>,
    pub null_value: Option<String>,
}

A message that can hold any of the supported value types and associated metadata.

This type is not used in any activity, and only used as part of another schema.

Fields

entity_value: Option<Entity>

An entity value.

  • May have no key.
  • May have a key with an incomplete key path.
  • May have a reserved/read-only key.
timestamp_value: Option<String>

A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.

geo_point_value: Option<LatLng>

A geo point value representing a point on the surface of Earth.

blob_value: Option<String>

A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.

double_value: Option<f64>

A double value.

meaning: Option<i32>

The meaning field should only be populated for backwards compatibility.

exclude_from_indexes: Option<bool>

If the value should be excluded from all indexes including those defined explicitly.

string_value: Option<String>

A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.

key_value: Option<Key>

A key value.

boolean_value: Option<bool>

A boolean value.

array_value: Option<ArrayValue>

An array value. Cannot contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.

integer_value: Option<String>

An integer value.

null_value: Option<String>

A null value.

Trait Implementations

impl Part for Value[src]

impl Default for Value[src]

impl Clone for Value[src]

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

Performs copy-assignment from source. Read more

impl Debug for Value[src]

impl Serialize for Value[src]

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

Auto Trait Implementations

impl Send for Value

impl Unpin for Value

impl Sync for Value

impl UnwindSafe for Value

impl RefUnwindSafe for Value

Blanket Implementations

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> Into<U> for T where
    U: From<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> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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