Enum twilight_http::request::application::UpdateOriginalResponseErrorType [−][src]
#[non_exhaustive] pub enum UpdateOriginalResponseErrorType { ContentInvalid { content: String, }, EmbedTooLarge { embeds: Vec<Embed>, index: usize, }, TooManyEmbeds { embeds: Vec<Embed>, }, }
Expand description
Type of UpdateOriginalResponseError
that occurred.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Content is over 2000 UTF-16 characters.
Show fields
Fields of ContentInvalid
content: String
Provided content.
Length of one of the embeds is over 6000 characters.
Show fields
Too many embeds were provided.
A original response can have up to 10 embeds.
Trait Implementations
Auto Trait Implementations
impl Send for UpdateOriginalResponseErrorType
impl Sync for UpdateOriginalResponseErrorType
impl Unpin for UpdateOriginalResponseErrorType