Enum firestore_grpc::google::firestore::v1beta1::document_transform::field_transform::ServerValue
source · #[repr(i32)]pub enum ServerValue {
Unspecified = 0,
RequestTime = 1,
}
Expand description
A value that is calculated by the server.
Variants§
Unspecified = 0
Unspecified. This value must not be used.
RequestTime = 1
The time at which the server processed the request, with millisecond precision. If used on multiple fields (same or different documents) in a transaction, all the fields will get the same server timestamp.
Implementations§
Trait Implementations§
source§impl Clone for ServerValue
impl Clone for ServerValue
source§fn clone(&self) -> ServerValue
fn clone(&self) -> ServerValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServerValue
impl Debug for ServerValue
source§impl Default for ServerValue
impl Default for ServerValue
source§fn default() -> ServerValue
fn default() -> ServerValue
Returns the “default value” for a type. Read more
source§impl From<ServerValue> for i32
impl From<ServerValue> for i32
source§fn from(value: ServerValue) -> i32
fn from(value: ServerValue) -> i32
Converts to this type from the input type.
source§impl Hash for ServerValue
impl Hash for ServerValue
source§impl Ord for ServerValue
impl Ord for ServerValue
source§fn cmp(&self, other: &ServerValue) -> Ordering
fn cmp(&self, other: &ServerValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ServerValue
impl PartialEq for ServerValue
source§fn eq(&self, other: &ServerValue) -> bool
fn eq(&self, other: &ServerValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ServerValue
impl PartialOrd for ServerValue
source§fn partial_cmp(&self, other: &ServerValue) -> Option<Ordering>
fn partial_cmp(&self, other: &ServerValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ServerValue
impl Eq for ServerValue
impl StructuralPartialEq for ServerValue
Auto Trait Implementations§
impl Freeze for ServerValue
impl RefUnwindSafe for ServerValue
impl Send for ServerValue
impl Sync for ServerValue
impl Unpin for ServerValue
impl UnwindSafe for ServerValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request