Enum firestore_grpc::google::firestore::v1beta1::target::ResumeType
source · pub enum ResumeType {
ResumeToken(Vec<u8>),
ReadTime(Timestamp),
}
Expand description
When to start listening.
If not specified, all matching Documents are returned before any subsequent changes.
Variants§
ResumeToken(Vec<u8>)
A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target.
Using a resume token with a different target is unsupported and may fail.
ReadTime(Timestamp)
Start listening after a specific read_time
.
The client must know the state of matching documents at this time.
Implementations§
source§impl ResumeType
impl ResumeType
Trait Implementations§
source§impl Clone for ResumeType
impl Clone for ResumeType
source§fn clone(&self) -> ResumeType
fn clone(&self) -> ResumeType
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 ResumeType
impl Debug for ResumeType
source§impl PartialEq for ResumeType
impl PartialEq for ResumeType
source§fn eq(&self, other: &ResumeType) -> bool
fn eq(&self, other: &ResumeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResumeType
Auto Trait Implementations§
impl Freeze for ResumeType
impl RefUnwindSafe for ResumeType
impl Send for ResumeType
impl Sync for ResumeType
impl Unpin for ResumeType
impl UnwindSafe for ResumeType
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<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