pub struct VacationResponse<State = Get> { /* private fields */ }Implementations§
Source§impl VacationResponse<Get>
impl VacationResponse<Get>
Source§impl VacationResponse<Set>
impl VacationResponse<Set>
pub fn is_enabled(&mut self, is_enabled: bool) -> &mut Self
pub fn from_date(&mut self, from_date: Option<i64>) -> &mut Self
pub fn to_date(&mut self, to_date: Option<i64>) -> &mut Self
pub fn subject(&mut self, subject: Option<impl Into<String>>) -> &mut Self
pub fn text_body(&mut self, text_body: Option<impl Into<String>>) -> &mut Self
pub fn html_body(&mut self, html_body: Option<impl Into<String>>) -> &mut Self
Trait Implementations§
Source§impl ChangesObject for VacationResponse<Get>
impl ChangesObject for VacationResponse<Get>
type ChangesResponse = ()
Source§impl ChangesObject for VacationResponse<Set>
impl ChangesObject for VacationResponse<Set>
type ChangesResponse = ()
Source§impl<State: Clone> Clone for VacationResponse<State>
impl<State: Clone> Clone for VacationResponse<State>
Source§fn clone(&self) -> VacationResponse<State>
fn clone(&self) -> VacationResponse<State>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<State: Debug> Debug for VacationResponse<State>
impl<State: Debug> Debug for VacationResponse<State>
Source§impl<'de, State> Deserialize<'de> for VacationResponse<State>
impl<'de, State> Deserialize<'de> for VacationResponse<State>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl GetObject for VacationResponse<Get>
impl GetObject for VacationResponse<Get>
type GetArguments = ()
Source§impl GetObject for VacationResponse<Set>
impl GetObject for VacationResponse<Set>
type GetArguments = ()
Source§impl Object for VacationResponse<Get>
impl Object for VacationResponse<Get>
Source§impl Object for VacationResponse<Set>
impl Object for VacationResponse<Set>
Source§impl<State> Serialize for VacationResponse<State>
impl<State> Serialize for VacationResponse<State>
Source§impl SetObject for VacationResponse<Get>
impl SetObject for VacationResponse<Get>
Auto Trait Implementations§
impl<State> Freeze for VacationResponse<State>
impl<State> RefUnwindSafe for VacationResponse<State>where
State: RefUnwindSafe,
impl<State> Send for VacationResponse<State>where
State: Send,
impl<State> Sync for VacationResponse<State>where
State: Sync,
impl<State> Unpin for VacationResponse<State>where
State: Unpin,
impl<State> UnsafeUnpin for VacationResponse<State>
impl<State> UnwindSafe for VacationResponse<State>where
State: UnwindSafe,
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