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.
Show fields
Fields of ContentInvalid
content: StringProvided content.
Length of one of the embeds is over 6000 characters.
Show fields
Too many embeds were provided.
A followup message can have up to 10 embeds.
Trait Implementations
Auto Trait Implementations
impl Send for UpdateFollowupMessageErrorTypeimpl Sync for UpdateFollowupMessageErrorTypeimpl Unpin for UpdateFollowupMessageErrorTypeimpl UnwindSafe for UpdateFollowupMessageErrorType