Struct google_gmail1::FilterCriteria [] [src]

pub struct FilterCriteria {
    pub size: Option<i32>,
    pub from: Option<String>,
    pub has_attachment: Option<bool>,
    pub size_comparison: Option<String>,
    pub to: Option<String>,
    pub query: Option<String>,
    pub exclude_chats: Option<bool>,
    pub negated_query: Option<String>,
    pub subject: Option<String>,
}

Message matching criteria.

This type is not used in any activity, and only used as part of another schema.

Fields

The size of the entire RFC822 message in bytes, including all headers and attachments.

The sender's display name or email address.

Whether the message has any attachment.

How the message size in bytes should be in relation to the size field.

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.

Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

Whether the response should exclude chats.

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

Trait Implementations

impl Debug for FilterCriteria
[src]

Formats the value using the given formatter.

impl Clone for FilterCriteria
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for FilterCriteria
[src]

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

impl Part for FilterCriteria
[src]