Struct google_tasks1::api::Task[][src]

pub struct Task {
    pub completed: Option<String>,
    pub deleted: Option<bool>,
    pub due: Option<String>,
    pub etag: Option<String>,
    pub hidden: Option<bool>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub links: Option<Vec<TaskLinks>>,
    pub notes: Option<String>,
    pub parent: Option<String>,
    pub position: Option<String>,
    pub self_link: Option<String>,
    pub status: Option<String>,
    pub title: Option<String>,
    pub updated: 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

completed: Option<String>

Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.

deleted: Option<bool>

Flag indicating whether the task has been deleted. The default is False.

due: Option<String>

Due date of the task (as a RFC 3339 timestamp). Optional. The due date only records date information; the time portion of the timestamp is discarded when setting the due date. It isn’t possible to read or write the time that a task is due via the API.

etag: Option<String>

ETag of the resource.

hidden: Option<bool>

Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.

id: Option<String>

Task identifier.

kind: Option<String>

Type of the resource. This is always “tasks#task”.

links: Option<Vec<TaskLinks>>

Collection of links. This collection is read-only.

notes: Option<String>

Notes describing the task. Optional.

parent: Option<String>

Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the “move” method to move the task under a different parent or to the top level.

position: Option<String>

String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task’s corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the “move” method to move the task to another position.

self_link: Option<String>

URL pointing to this task. Used to retrieve, update, or delete this task.

status: Option<String>

Status of the task. This is either “needsAction” or “completed”.

title: Option<String>

Title of the task.

updated: Option<String>

Last modification time of the task (as a RFC 3339 timestamp).

Trait Implementations

impl Clone for Task[src]

impl Debug for Task[src]

impl Default for Task[src]

impl<'de> Deserialize<'de> for Task[src]

impl RequestValue for Task[src]

impl Resource for Task[src]

impl ResponseResult for Task[src]

impl Serialize for Task[src]

Auto Trait Implementations

impl RefUnwindSafe for Task

impl Send for Task

impl Sync for Task

impl Unpin for Task

impl UnwindSafe for Task

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.