Skip to main content

Module request

Module request 

Source
Expand description

Base JMAP request and session types: JmapRequestBuilder, Session, AccountInfo, WebSocketCapability.

Types that belong to the base JMAP client layer (RFC 8620 §2, §3.3, RFC 8887). Chat-specific and Mail-specific types live in their own crates.

Types already in jmap-types and NOT redefined here: Id, UTCDate, State, Date, JmapRequest, JmapResponse, Invocation, ResultReference.

Structs§

AccountInfo
Per-account metadata in a JMAP Session (RFC 8620 §2).
AccountName
The human-readable account name (RFC 8620 §2 name field on the per-account object).
JmapRequestBuilder
Fluent builder for multi-method JmapRequest objects.
JmapUrl
A plain JMAP URL — no RFC 6570 template variables expected.
JmapUrlTemplate
An RFC 6570 Level-1 URI template — requires variable substitution before use as a request URL.
Session
JMAP Session object returned by GET /.well-known/jmap (RFC 8620 §2).
Username
The authenticated user’s username (RFC 8620 §2 username field).
WebSocketCapability
Capability object for "urn:ietf:params:jmap:websocket" (RFC 8887).