Struct todoist_rs::Color [] [src]

pub struct Color(_);

Colors can be used to organize some Todoist types, like projects and tasks.

Each color is mapped to a number: 0 - 11 for peasants, or 0 - 21 for premium users. To get a string representation of a color's hex use Color::to_string()

Trait Implementations

impl Debug for Color
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Color
[src]

[src]

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

impl ToString for Color
[src]

[src]

Converts the given value to a String. Read more

Auto Trait Implementations

impl Send for Color

impl Sync for Color