Skip to main content

JmapMetadataExt

Trait JmapMetadataExt 

Source
pub trait JmapMetadataExt {
    // Required method
    fn with_metadata_session(&self, session: Session) -> SessionClient;
}
Expand description

Extension trait adding JMAP Object Metadata (draft-ietf-jmap-metadata-01) methods to jmap_base_client::JmapClient.

Import this trait to use: use jmap_metadata_client::JmapMetadataExt;

All JMAP Metadata method calls are made through the SessionClient returned by with_metadata_session.

Required Methods§

Source

fn with_metadata_session(&self, session: Session) -> SessionClient

Create a SessionClient bound to this client and session.

All JMAP Metadata method calls are made through the returned SessionClient.

Implementations on Foreign Types§

Source§

impl JmapMetadataExt for JmapClient

Implementors§