Enum googapis::google::firestore::v1beta1::target::TargetType [−][src]
pub enum TargetType {
Query(QueryTarget),
Documents(DocumentsTarget),
}
Expand description
The type of target to listen to.
Variants
Query(QueryTarget)
A target specified by a query.
Tuple Fields of Query
0: QueryTarget
Documents(DocumentsTarget)
A target specified by a set of document names.
Tuple Fields of Documents
Implementations
pub fn merge<B>(
field: &mut Option<TargetType>,
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 TargetType
impl Send for TargetType
impl Sync for TargetType
impl Unpin for TargetType
impl UnwindSafe for TargetType
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