Enum googapis::google::cloud::tasks::v2beta2::queue::TargetType [−][src]
pub enum TargetType {
AppEngineHttpTarget(AppEngineHttpTarget),
PullTarget(PullTarget),
}
Expand description
Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][], after which the queue config type becomes output only, though fields within the config are mutable.
The queue’s target.
The target applies to all tasks in the queue.
Variants
AppEngineHttpTarget(AppEngineHttpTarget)
App Engine HTTP target.
An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
Tuple Fields of AppEngineHttpTarget
PullTarget(PullTarget)
Pull target.
A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
Tuple Fields of PullTarget
0: PullTarget
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