pub trait JmapTasksExt {
// Required method
fn with_tasks_session(self, session: Session) -> SessionClient;
}Expand description
Extension trait adding JMAP Tasks methods to jmap_base_client::JmapClient.
Import this trait to use: use jmap_tasks_client::JmapTasksExt;
Required Methods§
Sourcefn with_tasks_session(self, session: Session) -> SessionClient
fn with_tasks_session(self, session: Session) -> SessionClient
Bind this client to a JMAP session for use with Tasks methods.
The returned SessionClient captures the session at construction time.
After re-fetching the session, construct a new SessionClient with the
updated session.