Struct todoist::resource::Label [] [src]

pub struct Label {
    pub id: ID,
    pub name: String,
    pub color: Color,
    pub item_order: isize,
    pub is_deleted: IntBool,
    pub is_favorite: IntBool,
}

A Todoist label (premium users only)

Fields

The label's ID

The label's name

The label's Color

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

Trait Implementations

impl Default for Label
[src]

[src]

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

impl Debug for Label
[src]

[src]

Formats the value using the given formatter. Read more

impl Create for Label
[src]

[src]

impl Update for Label
[src]

[src]

impl Delete for Label
[src]

[src]

Auto Trait Implementations

impl Send for Label

impl Sync for Label