Skip to main content

JmapTasksExt

Trait JmapTasksExt 

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl JmapTasksExt for JmapClient

Implementors§