Struct todoist::resource::User [] [src]

pub struct User {
    pub id: ID,
    pub token: String,
    pub email: String,
    pub full_name: String,
    pub inbox_project: ID,
    pub tz_info: TimeZoneInfo,
    pub start_page: String,
    pub start_day: isize,
    pub next_week: isize,
    pub time_format: isize,
    pub date_format: isize,
    pub sort_order: isize,
    pub default_reminder: NotificationService,
    pub auto_reminder: isize,
    pub mobile_number: Option<String>,
    pub mobile_host: Option<String>,
    pub completed_count: isize,
    pub completed_today: isize,
    pub karma: f64,
    pub karma_trend: String,
    pub is_premium: bool,
    pub premium_until: Option<String>,
    pub is_biz_admin: bool,
    pub business_account_id: Option<ID>,
    pub image_id: Option<String>,
    pub avatar_small: Option<String>,
    pub avatar_medium: Option<String>,
    pub avatar_big: Option<String>,
    pub theme: isize,
    pub features: Option<()>,
    pub join_date: Date,
}

A Todoist user

Fields

The user's ID

The user's API token

The user's email

the user's full name, formatted as "Firstname Lastname"

the ID of the user's inbox project

the user's timezone info

the user's default view on todoist

the first day of the week, between 1 and 7

the day of next week that tasks will be postponed to

the format for time, 24h or 12h

the date format, DD-MM-YY or MM-DD-YY

the order to sort items, newest first (1), or oldest first (0)

the default reminder method

the default time in minutes for automatic reminders set

the user's phone number

the user's mobile host

the total number of completed tasks

tasks completed today

the user's karma score

the user's karma trend, e.g. up

false if this user is a peasant

when this user's premium ends

if this user is a business account admin

the ID of the user's business account

the ID of this user's avatar

the user's small avatar

the user's medium avatar

the user's big avatar

the user's UI theme (a number between 0 and 10)

used internally by todoist

When the user joined

Trait Implementations

impl Default for User
[src]

[src]

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

impl Debug for User
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for User

impl Sync for User