Enum firestore_grpc::google::firestore::v1::listen_response::ResponseType
source · pub enum ResponseType {
TargetChange(TargetChange),
DocumentChange(DocumentChange),
DocumentDelete(DocumentDelete),
DocumentRemove(DocumentRemove),
Filter(ExistenceFilter),
}
Expand description
The supported responses.
Variants§
TargetChange(TargetChange)
Targets have changed.
DocumentChange(DocumentChange)
A [Document][google.firestore.v1.Document] has changed.
DocumentDelete(DocumentDelete)
A [Document][google.firestore.v1.Document] has been deleted.
DocumentRemove(DocumentRemove)
A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).
Filter(ExistenceFilter)
A filter to apply to the set of documents previously returned for the given target.
Returned when documents may have been removed from the given target, but the exact documents are unknown.
Implementations§
source§impl ResponseType
impl ResponseType
Trait Implementations§
source§impl Clone for ResponseType
impl Clone for ResponseType
source§fn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
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 ResponseType
impl Debug for ResponseType
source§impl PartialEq for ResponseType
impl PartialEq for ResponseType
source§fn eq(&self, other: &ResponseType) -> bool
fn eq(&self, other: &ResponseType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResponseType
Auto Trait Implementations§
impl Freeze for ResponseType
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
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