Struct google_gmail1::Label [] [src]

pub struct Label {
    pub name: Option<String>,
    pub messages_total: Option<i32>,
    pub message_list_visibility: Option<String>,
    pub threads_total: Option<i32>,
    pub label_list_visibility: Option<String>,
    pub threads_unread: Option<i32>,
    pub type_: Option<String>,
    pub id: Option<String>,
    pub messages_unread: Option<i32>,
}

Labels are used to categorize messages and threads within the user's mailbox.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

The display name of the label.

The total number of messages with the label.

The visibility of the label in the message list in the Gmail web interface.

The total number of threads with the label.

The visibility of the label in the label list in the Gmail web interface.

The number of unread threads with the label.

The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.

The immutable ID of the label.

The number of unread messages with the label.

Trait Implementations

impl Default for Label
[src]

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

impl Clone for Label
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Label
[src]

Formats the value using the given formatter.

impl RequestValue for Label
[src]

impl ResponseResult for Label
[src]