Struct google_firestore1_beta1::Value[][src]

pub struct Value {
    pub bytes_value: Option<String>,
    pub timestamp_value: Option<String>,
    pub null_value: Option<String>,
    pub reference_value: Option<String>,
    pub double_value: Option<f64>,
    pub map_value: Option<MapValue>,
    pub string_value: Option<String>,
    pub boolean_value: Option<bool>,
    pub array_value: Option<ArrayValue>,
    pub integer_value: Option<String>,
    pub geo_point_value: Option<LatLng>,
}

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

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

Fields

A bytes value.

Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.

A timestamp value.

Precise only to microseconds. When stored, any additional precision is rounded down.

A null value.

A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.

A double value.

A map value.

A string value.

The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.

A boolean value.

An array value.

Cannot contain another array value.

An integer value.

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

Trait Implementations

impl Default for Value
[src]

Returns the "default value" for a type. Read more

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

impl Part for Value
[src]

Auto Trait Implementations

impl Send for Value

impl Sync for Value