Struct google_gmail1::VacationSettings [] [src]

pub struct VacationSettings {
    pub response_subject: Option<String>,
    pub response_body_plain_text: Option<String>,
    pub restrict_to_contacts: Option<bool>,
    pub enable_auto_reply: Option<bool>,
    pub start_time: Option<String>,
    pub end_time: Option<String>,
    pub response_body_html: Option<String>,
    pub restrict_to_domain: Option<bool>,
}

Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface.

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

Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty.

Response body in plain text format.

Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.

Flag that controls whether Gmail automatically replies to messages.

An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.

An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both startTime and endTime are specified, startTime must precede endTime.

Response body in HTML format. Gmail will sanitize the HTML before storing it.

Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.

Trait Implementations

impl Default for VacationSettings
[src]

[src]

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

impl Clone for VacationSettings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VacationSettings
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for VacationSettings
[src]

impl ResponseResult for VacationSettings
[src]