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
bytes_value: Option<String>
A bytes value.
Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
timestamp_value: Option<String>
A timestamp value.
Precise only to microseconds. When stored, any additional precision is rounded down.
null_value: Option<String>
A null value.
reference_value: Option<String>
A reference to a document. For example:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
double_value: Option<f64>
A double value.
map_value: Option<MapValue>
A map value.
string_value: Option<String>
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.
boolean_value: Option<bool>
A boolean value.
array_value: Option<ArrayValue>
An array value.
Cannot contain another array value.
integer_value: Option<String>
An integer value.
geo_point_value: Option<LatLng>
A geo point value representing a point on the surface of Earth.
Trait Implementations
impl Default for Value
[src]
impl Default for Value
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Value
[src]
impl Debug for Value
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Value
[src]
impl Part for Value