Expand description
jmap-contacts-client — JMAP Contacts method implementations.
Depends on jmap-base-client for transport, auth, and session. See PLAN.md for the full implementation plan.
§Usage
let session = client.fetch_session().await?;
let sc = client.with_contacts_session(session);
// List all address books in the primary account.
let address_books = sc.address_book_get(None, None).await?;Re-exports§
pub use methods::AddressBookSetParams;pub use methods::SessionClient;
Modules§
- methods
- Typed JMAP Contacts method wrappers — response types, SessionClient, constants, and helpers.
Structs§
- Added
Item - A single item added to a query result set (RFC 8620 §5.6).
- Changes
Response - RFC 8620 §5.2 —
Foo/changesresponse shape. - GetResponse
- RFC 8620 §5.1 —
Foo/getresponse shape. - Query
Changes Response - RFC 8620 §5.6 —
Foo/queryChangesresponse shape. - Query
Response - RFC 8620 §5.5 —
Foo/queryresponse shape. - SetError
- A per-item failure in a
/setresponse (RFC 8620 §5.3). - SetResponse
- RFC 8620 §5.3 —
Foo/setresponse shape.
Enums§
- Client
Error - Errors produced by the base JMAP client.
Traits§
- Jmap
Contacts Ext - Extension trait adding JMAP Contacts methods to
jmap_base_client::JmapClient.