Expand description
Typed JMAP Chat method wrappers — response types, Patch<T>, SessionClient,
input/patch structs, constants, and helpers.
Response types mirror RFC 8620 standard shapes (§5.1 /get, §5.5 /query,
§5.2 /changes, §5.3 /set). Method implementations live in sub-modules and
operate on SessionClient.
Modules§
- blob
- Blob/lookup and Blob/convert — urn:ietf:params:jmap:blob2
- chat
- JMAP Chat — Chat/* method implementations on SessionClient.
- contact
- JMAP Chat — ChatContact/* method implementations on SessionClient.
- custom_
emoji - CustomEmoji method implementations for SessionClient.
- message
- JMAP Chat — Message/* method implementations on SessionClient.
- misc
- Miscellaneous JMAP Chat method implementations on SessionClient.
- quota
- Quota/get — urn:ietf:params:jmap:quota
- space
- JMAP Chat — Space/* method implementations on SessionClient.
- space_
ban - JMAP Chat — SpaceBan/* method implementations on SessionClient.
- space_
invite - JMAP Chat — SpaceInvite/* method implementations on SessionClient.
Structs§
- AddMember
Input - One entry in the
addMemberspatch key forChat/setupdate. - Added
Item - A single item added to a query result set (RFC 8620 §5.6).
- Changes
Response - RFC 8620 §5.2 —
Foo/changesresponse shape. - Chat
Contact Patch - Patch parameters for
ChatContact/setupdate. - Chat
Contact Query Input - Input parameters for
ChatContact/query. - Chat
Patch - Patch parameters for
Chat/setupdate. - Chat
Query Input - Input parameters for
Chat/query. - Custom
Emoji Create Input - Parameters for creating one CustomEmoji via
CustomEmoji/set. - Custom
Emoji Query Input - Input parameters for
CustomEmoji/query. - GetResponse
- RFC 8620 §5.1 —
Foo/getresponse shape. - Message
Create Input - Input parameters for
Message/setcreate. - Message
Patch - Patch parameters for
Message/setupdate. - Message
Query Input - Input parameters for
Message/query. - Presence
Status Patch - Patch parameters for
PresenceStatus/setupdate. - Push
Subscription Create Input - Input parameters for
PushSubscription/setcreate (RFC 8620 §7.2). - Push
Subscription Create Response - Response to a
PushSubscription/setcreate call (RFC 8620 §7.2). - Push
Subscription Patch - Patch shape for
PushSubscription/setupdate sub-operations (RFC 8620 §7.2.2). - Query
Changes Response - RFC 8620 §5.6 —
Foo/queryChangesresponse shape. - Query
Response - RFC 8620 §5.5 —
Foo/queryresponse shape. - Session
Client - A
JmapClientbound to a JMAP session. - SetError
- A per-item failure in a
/setresponse (RFC 8620 §5.3). - SetResponse
- RFC 8620 §5.3 —
Foo/setresponse shape. - Space
AddCategory Input - One category to add in the
addCategoriespatch key ofSpace/setupdate (JMAP Chat §Space/set update /manage_channelspermission). - Space
AddChannel Input - One channel to add in the
addChannelspatch key ofSpace/setupdate. - Space
AddMember Input - One member to add in the
addMemberspatch key ofSpace/setupdate. - Space
AddRole Input - One role to add in the
addRolespatch key ofSpace/setupdate (JMAP Chat §Space/set update /manage_rolespermission). - Space
BanCreate Input - Parameters for creating one SpaceBan via
SpaceBan/set. - Space
Create Input - Input parameters for
Space/setcreate. - Space
Invite Create Input - Parameters for creating one SpaceInvite via
SpaceInvite/set. - Space
Join Response - Response to a
Space/joincall (JMAP Chat §Space/join). - Space
Patch - Patch parameters for
Space/setupdate. - Space
Query Input - Input parameters for
Space/query. - Space
Update Category Input - One category update in the
updateCategoriespatch key ofSpace/setupdate (JMAP Chat §Space/set update /manage_channelspermission). - Space
Update Channel Input - One channel update in the
updateChannelspatch key ofSpace/setupdate (JMAP Chat §Space/set update /manage_channelspermission). - Space
Update Member Input - One member update in the
updateMemberspatch key ofSpace/setupdate. - Space
Update Role Input - One role update in the
updateRolespatch key ofSpace/setupdate (JMAP Chat §Space/set update /manage_rolespermission). - Typing
Response - Response to a
Chat/typingcall (JMAP Chat §Chat/typing). - Update
Member Role Input - One entry in the
updateMemberRolespatch key forChat/setupdate.
Enums§
- Chat
Create Input - Input parameters for
Chat/setcreate. - Contact
Sort Property - Sort property for
ChatContact/query. - Patch
- Three-way patch value for nullable JMAP fields.
- Reaction
Change - A single reaction change in a
Message/setpatch (JMAP Chat §4.5). - Server
Retry After Error - Error from
server_retry_afterwhen theserverRetryAfterfield is present but doesn’t parse as ajmap_types::UTCDate. - Space
Join Input - How to join a Space — passed to
Space/join.
Constants§
- CALL_ID
- The call-id embedded in every single-method JMAP request produced
by this crate. Pass directly to
jmap_base_client::extract_response.
Functions§
- server_
retry_ after - Read the
serverRetryAfterextension field from aSetErrorper the JMAP Chat slow-mode workspace convention.