Struct lib_todoist::models::Project[][src]

pub struct Project {
    pub id: usize,
    pub name: String,
    pub color: Color,
    pub parent_id: Option<usize>,
    pub order: usize,
    pub favorite: bool,
    pub inbox_project: Option<bool>,
    pub url: String,
}

Fields

id: usizename: Stringcolor: Colorparent_id: Option<usize>order: usizefavorite: boolinbox_project: Option<bool>

Whether the project is Inbox (read-only, true or otherwise this property is not sent).

url: String

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.