Re-exports§
pub use error::Error;
pub use error::NotFoundExt;
pub use error::Result;
Modules§
- error
- http
- models
- Common object models consumed by Adapt’s services.
- snowflake
- Snowflake generation and parsing.
- ws
Macros§
Enums§
- Maybe
- A serde value that distinguishes between null and missing values.
Functions§
- calculate_
permissions - Calculates the permissions after applying all role permissions and channel overwrites.
This mutates
roles
by sorting it by position. - calculate_
permissions_ sorted - Calculates the permissions after applying all role permissions and channel overwrites.
This assumes
roles
is sorted by position.