Struct google_gmail1::api::VacationSettings [−][src]
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).
- settings get vacation users (response)
- settings update vacation users (request|response)
Fields
enable_auto_reply: Option<bool>Flag that controls whether Gmail automatically replies to messages.
end_time: Option<String>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_html: Option<String>Response body in HTML format. Gmail will sanitize the HTML before storing it. If both response_body_plain_text and response_body_html are specified, response_body_html will be used.
response_body_plain_text: Option<String>Response body in plain text format. If both response_body_plain_text and response_body_html are specified, response_body_html will be used.
response_subject: Option<String>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.
restrict_to_contacts: Option<bool>Flag that determines whether responses are sent to recipients who are not in the user’s list of contacts.
restrict_to_domain: Option<bool>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.
start_time: Option<String>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.
Trait Implementations
impl Clone for VacationSettings[src]
fn clone(&self) -> VacationSettings[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for VacationSettings[src]
impl Default for VacationSettings[src]
fn default() -> VacationSettings[src]
impl<'de> Deserialize<'de> for VacationSettings[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for VacationSettings[src]
impl ResponseResult for VacationSettings[src]
impl Serialize for VacationSettings[src]
Auto Trait Implementations
impl RefUnwindSafe for VacationSettings
impl Send for VacationSettings
impl Sync for VacationSettings
impl Unpin for VacationSettings
impl UnwindSafe for VacationSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,