Struct todoist::resource::LiveNotification [] [src]

pub struct LiveNotification {
    pub id: ID,
    pub created: i64,
    pub from_uid: ID,
    pub notification_key: String,
    pub seq_no: isize,
    pub is_unread: IntBool,
    pub from_user: Option<User>,
    pub project_name: Option<String>,
    pub invitation_id: Option<ID>,
    pub invitation_secret: Option<String>,
    pub state: Option<String>,
    pub removed_name: Option<String>,
    pub removed_uid: Option<ID>,
    pub quantity: Option<isize>,
    pub plan: Option<String>,
    pub active_until: Option<i64>,
    pub amount_due: Option<isize>,
    pub attempt_count: Option<isize>,
    pub currency: Option<String>,
    pub description: Option<String>,
    pub next_payment_attempt: Option<i64>,
    pub invitation_message: Option<String>,
    pub account_name: Option<String>,
}

Fields

this notification's ID

when this live notification was created (in unix time)

the user who created this notification

unique key for this notification

notification sequence number

whether this notification has been read

the user who is being invited

the project name

the invitations ID

the invitation secret, used for accepting/rejecting it

the invitation state

the user removed (name)

the user removed (uid)

The number of users in the business

the tariff plan name, business_monthly or business_yearly

when the business account will be disabled (unix time)

amount due in hundredths of one unit of currency

the number of previous payment attempts

currency, three letter ISO code

invoice description

next payment attempt date (in unix time)

the invitation's message

the business account's name

Trait Implementations

impl Default for LiveNotification
[src]

[src]

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

impl Debug for LiveNotification
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations