Struct google_taskqueue1_beta2::Task [] [src]

pub struct Task {
    pub kind: Option<String>,
    pub lease_timestamp: Option<String>,
    pub queue_name: Option<String>,
    pub retry_count: Option<i32>,
    pub tag: Option<String>,
    pub payload_base64: Option<String>,
    pub id: Option<String>,
    pub enqueue_timestamp: Option<String>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The kind of object returned, in this case set to task.

Time (in seconds since the epoch) at which the task lease will expire. This value is 0 if the task isnt currently leased out to a worker.

Name of the queue that the task is in.

The number of leases applied to this task.

Tag for the task, could be used later to lease tasks grouped by a specific tag.

A bag of bytes which is the task payload. The payload on the JSON side is always Base64 encoded.

Name of the task.

Time (in seconds since the epoch) at which the task was enqueued.

Trait Implementations

impl Debug for Task
[src]

Formats the value using the given formatter.

impl Clone for Task
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Task
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Task
[src]

impl Resource for Task
[src]

impl ResponseResult for Task
[src]