Enum googapis::google::firestore::v1beta1::listen_response::ResponseType [−][src]
pub enum ResponseType {
TargetChange(TargetChange),
DocumentChange(DocumentChange),
DocumentDelete(DocumentDelete),
DocumentRemove(DocumentRemove),
Filter(ExistenceFilter),
}
Expand description
The supported responses.
Variants
TargetChange(TargetChange)
Targets have changed.
Tuple Fields of TargetChange
0: TargetChange
DocumentChange(DocumentChange)
A [Document][google.firestore.v1beta1.Document] has changed.
Tuple Fields of DocumentChange
DocumentDelete(DocumentDelete)
A [Document][google.firestore.v1beta1.Document] has been deleted.
Tuple Fields of DocumentDelete
DocumentRemove(DocumentRemove)
A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer relevant to that target).
Tuple Fields of DocumentRemove
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.
Tuple Fields of Filter
Implementations
pub fn merge<B>(
field: &mut Option<ResponseType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
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