Crate twilight_validate

source
Expand description

§twilight-validate

codecov badge discord badge github badge license badge rust badge

twilight-validate contains constants, methods, and error types for validating request parameters in the twilight-rs ecosystem.

This crate is used internally by twilight-http, but may also be used for manually validating any models from twilight-model.

Modules§

  • Constants, error types, and functions for validating channel fields.
  • Constants, error types, and functions for validating Commands.
  • Constants, error types, and functions for validating Components.
  • Constants, error types, and functions for validating Embeds.
  • Constants, error types, and functions for validating Message fields.
  • Contains all other input validation functions.
  • Constants, error types, and functions for validating Sticker fields.