pub struct JmapVacationResponseUpdate {
pub is_enabled: Option<bool>,
pub from_date: Option<String>,
pub to_date: Option<String>,
pub subject: Option<String>,
pub text_body: Option<String>,
pub html_body: Option<String>,
}Expand description
Patch object for VacationResponse/set update (RFC 8621 §8).
Only Some fields are serialized; None fields are left unchanged.
Fields§
§is_enabled: Option<bool>Whether the vacation response is sent.
from_date: Option<String>RFC 3339 start of the vacation period.
to_date: Option<String>RFC 3339 end of the vacation period.
subject: Option<String>Subject of the auto-reply message.
text_body: Option<String>Plaintext body of the auto-reply message.
html_body: Option<String>HTML body of the auto-reply message.
Trait Implementations§
Source§impl Clone for JmapVacationResponseUpdate
impl Clone for JmapVacationResponseUpdate
Source§fn clone(&self) -> JmapVacationResponseUpdate
fn clone(&self) -> JmapVacationResponseUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapVacationResponseUpdate
impl Debug for JmapVacationResponseUpdate
Source§impl Default for JmapVacationResponseUpdate
impl Default for JmapVacationResponseUpdate
Source§fn default() -> JmapVacationResponseUpdate
fn default() -> JmapVacationResponseUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapVacationResponseUpdate
impl RefUnwindSafe for JmapVacationResponseUpdate
impl Send for JmapVacationResponseUpdate
impl Sync for JmapVacationResponseUpdate
impl Unpin for JmapVacationResponseUpdate
impl UnsafeUnpin for JmapVacationResponseUpdate
impl UnwindSafe for JmapVacationResponseUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more