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
id: ID
this notification's ID
created: i64
when this live notification was created (in unix time)
from_uid: ID
the user who created this notification
notification_key: String
unique key for this notification
seq_no: isize
notification sequence number
is_unread: IntBool
whether this notification has been read
from_user: Option<User>
the user who is being invited
project_name: Option<String>
the project name
invitation_id: Option<ID>
the invitations ID
invitation_secret: Option<String>
the invitation secret, used for accepting/rejecting it
state: Option<String>
the invitation state
removed_name: Option<String>
the user removed (name)
removed_uid: Option<ID>
the user removed (uid)
quantity: Option<isize>
The number of users in the business
plan: Option<String>
the tariff plan name, business_monthly or business_yearly
active_until: Option<i64>
when the business account will be disabled (unix time)
amount_due: Option<isize>
amount due in hundredths of one unit of currency
attempt_count: Option<isize>
the number of previous payment attempts
currency: Option<String>
currency, three letter ISO code
description: Option<String>
invoice description
next_payment_attempt: Option<i64>
next payment attempt date (in unix time)
invitation_message: Option<String>
the invitation's message
account_name: Option<String>
the business account's name
Trait Implementations
impl Default for LiveNotification
[src]
fn default() -> LiveNotification
[src]
Returns the "default value" for a type. Read more