Available on crate feature 
api only.Expand description
(De)serializable types for various Matrix APIs requests and responses and abstractions for them.
Modules§
- appservice
appservice-api-corappservice-api-s - (De)serializable types for the Matrix Application Service API. These types can be shared by application service and server code.
 - auth_
scheme  - The 
AuthSchemetrait used to specify the authentication scheme used by endpoints and the types that implement it. - client
client-api-corclient-api-s - (De)serializable types for the Matrix Client-Server API. These types can be shared by client and server code.
 - error
 - This module contains types for all kinds of errors that can occur when converting between http requests / responses and ruma’s representation of matrix API requests / responses.
 - federation
federation-api-corfederation-api-s - (De)serializable types for the Matrix Server-Server API. These types are used by server code.
 - identity_
service identity-service-api-coridentity-service-api-s - (De)serializable types for the Matrix Identity Service API. These types can be shared by client and identity service code.
 - path_
builder  - The 
PathBuildertrait used to construct the path used to query endpoints and the types that implement it. - push_
gateway push-gateway-api-corpush-gateway-api-s - (De)serializable types for the Matrix Push Gateway API. These types can be shared by push gateway and server code.
 
Macros§
Structs§
- Appservice
User Identity  - Data to assert the identity of an appservice virtual user.
 - Supported
Versions  - The list of Matrix versions and features supported by a homeserver.
 
Enums§
- Direction
 - The direction to return events from.
 - Feature
Flag  - The Matrix features supported by Ruma.
 - Matrix
Version  - The Matrix versions Ruma currently understands to exist.
 
Traits§
- Endpoint
Error  - Gives users the ability to define their own serializable / deserializable errors.
 - Incoming
Request  - A request type for a Matrix API endpoint, used for receiving requests.
 - Incoming
Response  - A response type for a Matrix API endpoint, used for receiving responses.
 - Metadata
 - Metadata about an API endpoint.
 - Outgoing
Request  - A request type for a Matrix API endpoint, used for sending requests.
 - Outgoing
Request Appservice Ext  - An extension to 
OutgoingRequestwhich provides Appservice specific methods. - Outgoing
Response  - A request type for a Matrix API endpoint, used for sending responses.
 
Attribute Macros§
- request
 ⚠ If this is the only documentation you see, please navigate to the docs for
ruma_common::api::request, where actual documentation can be found.- response
 ⚠ If this is the only documentation you see, please navigate to the docs for
ruma_common::api::response, where actual documentation can be found.