Struct todoist_rs::resource::Item [] [src]

pub struct Item {
    pub id: ID,
    pub user_id: ID,
    pub project_id: ID,
    pub content: Option<String>,
    pub date_string: Option<String>,
    pub date_lang: Option<Language>,
    pub due_date_utc: Option<Date>,
    pub priority: Priority,
    pub indent: u8,
    pub item_order: isize,
    pub day_order: isize,
    pub collapsed: isize,
    pub labels: Vec<ID>,
    pub assigned_by_uid: Option<ID>,
    pub responsible_uid: Option<ID>,
    pub checked: IntBool,
    pub in_history: IntBool,
    pub is_deleted: IntBool,
    pub is_archived: IntBool,
    pub is_favorite: IntBool,
    pub sync_id: Option<isize>,
    pub date_added: Option<Date>,
    pub auto_reminders: Option<bool>,
    pub auto_parse_labels: Option<bool>,
}

A Todoist task item

Fields

The item's unique ID

The ID of the item's owner

The ID of the project this item belongs to

This item's text, not (e.g. "Do the dishes")

The date for this TODO examples: "every other day", "tomorrow", "today at 9am"

The date_string's language

The date this TODO is due, or none

this item's importance

this item's indent

This item's position in the item list, the smallest number should be at the top

This item's position in the "Today" or "Next 7 Days" list, the smallest number should be at the top

0 if this item's children should be hidden

a list of label id's for the labels attached to this item

The user ID of the user who added this item

The user ID of the user who is assigned this task

1 if this task has been completed

used internally by Todoist, here for completeness

when this item was added

if true this item will use the user's default reminder (this field is CREATE only)

if true this item's labels will be parsed from the content field (this field is CREATE only)

Trait Implementations

impl Default for Item
[src]

[src]

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

impl Debug for Item
[src]

[src]

Formats the value using the given formatter. Read more

impl Create for Item
[src]

[src]

impl Update for Item
[src]

[src]

impl Delete for Item
[src]

[src]

impl Archive for Item
[src]

[src]

[src]

impl Close for Item
[src]

[src]

impl Complete for Item
[src]

[src]

[src]

Auto Trait Implementations

impl Send for Item

impl Sync for Item