Enum twilight_http::request::application::UpdateFollowupMessageErrorType [−][src]
#[non_exhaustive] pub enum UpdateFollowupMessageErrorType { ContentInvalid { content: String, }, EmbedTooLarge { embeds: Vec<Embed>, index: usize, }, TooManyEmbeds { embeds: Vec<Embed>, }, }
Expand description
Type of UpdateFollowupMessageError
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.
Fields of ContentInvalid
content: String
Provided content.
Length of one of the embeds is over 6000 characters.
Fields of EmbedTooLarge
Too many embeds were provided.
A followup message can have up to 10 embeds.
Trait Implementations
Auto Trait Implementations
impl Send for UpdateFollowupMessageErrorType
impl Sync for UpdateFollowupMessageErrorType
impl Unpin for UpdateFollowupMessageErrorType
impl UnwindSafe for UpdateFollowupMessageErrorType