pub struct JmapVacationResponseSet { /* private fields */ }Expand description
I/O-free coroutine for the JMAP VacationResponse/set method.
Implementations§
Source§impl JmapVacationResponseSet
impl JmapVacationResponseSet
Sourcepub fn new(
session: &JmapSession,
http_auth: &SecretString,
patch: JmapVacationResponseUpdate,
) -> Result<Self, JmapVacationResponseSetError>
pub fn new( session: &JmapSession, http_auth: &SecretString, patch: JmapVacationResponseUpdate, ) -> Result<Self, JmapVacationResponseSetError>
Prepares the method call request and builds the coroutine.
Trait Implementations§
Source§impl JmapCoroutine for JmapVacationResponseSet
impl JmapCoroutine for JmapVacationResponseSet
Source§type Return = Result<JmapVacationResponseSetOutput, JmapVacationResponseSetError>
type Return = Result<JmapVacationResponseSetOutput, JmapVacationResponseSetError>
Terminal value. By convention
Result<Output, Error>.Auto Trait Implementations§
impl Freeze for JmapVacationResponseSet
impl RefUnwindSafe for JmapVacationResponseSet
impl Send for JmapVacationResponseSet
impl Sync for JmapVacationResponseSet
impl Unpin for JmapVacationResponseSet
impl UnsafeUnpin for JmapVacationResponseSet
impl UnwindSafe for JmapVacationResponseSet
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