Struct google_cloudtasks2_beta2::PullMessage
[−]
[src]
pub struct PullMessage {
pub tag: Option<String>,
pub payload: Option<String>,
}The pull message contains data that can be used by the caller of CloudTasks.PullTasks to process the task.
This proto can only be used for tasks in a queue which has Queue.pull_target set.
This type is not used in any activity, and only used as part of another schema.
Fields
tag: Option<String>
A meta-data tag for this task.
This value is used by CloudTasks.PullTasks calls when
PullTasksRequest.filter is tag=<tag>.
The tag must be less than 500 bytes.
payload: Option<String>
A data payload consumed by the task worker to execute the task.
Trait Implementations
impl Default for PullMessage[src]
fn default() -> PullMessage[src]
Returns the "default value" for a type. Read more
impl Clone for PullMessage[src]
fn clone(&self) -> PullMessage[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more