Enum googapis::google::firestore::v1::value::ValueType [−][src]
pub enum ValueType {
NullValue(i32),
BooleanValue(bool),
IntegerValue(i64),
DoubleValue(f64),
TimestampValue(Timestamp),
StringValue(String),
BytesValue(Vec<u8>),
ReferenceValue(String),
GeoPointValue(LatLng),
ArrayValue(ArrayValue),
MapValue(MapValue),
}
Expand description
Must have a value set.
Variants
NullValue(i32)
A null value.
Tuple Fields of NullValue
0: i32
BooleanValue(bool)
A boolean value.
Tuple Fields of BooleanValue
0: bool
IntegerValue(i64)
An integer value.
Tuple Fields of IntegerValue
0: i64
DoubleValue(f64)
A double value.
Tuple Fields of DoubleValue
0: f64
TimestampValue(Timestamp)
A timestamp value.
Precise only to microseconds. When stored, any additional precision is rounded down.
Tuple Fields of TimestampValue
0: Timestamp
StringValue(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.
Tuple Fields of StringValue
0: String
A bytes value.
Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
ReferenceValue(String)
A reference to a document. For example:
projects/{project_id}/databases/{database_id}/documents/{document_path}
.
Tuple Fields of ReferenceValue
0: String
GeoPointValue(LatLng)
A geo point value representing a point on the surface of Earth.
Tuple Fields of GeoPointValue
0: LatLng
ArrayValue(ArrayValue)
An array value.
Cannot directly contain another array value, though can contain an map which contains another array.
Tuple Fields of ArrayValue
0: ArrayValue
MapValue(MapValue)
A map value.
Tuple Fields of MapValue
0: MapValue
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ValueType
impl UnwindSafe for ValueType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more