Enum twilight_http::request::template::create_guild_from_template::CreateGuildFromTemplateErrorType [−][src]
#[non_exhaustive] pub enum CreateGuildFromTemplateErrorType { NameInvalid { name: String, }, }
Expand description
Type of CreateGuildFromTemplateError
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.
Name of the guild is either fewer than 2 UTF-16 characters or more than 100 UTF-16 characters.
Show fields
Fields of NameInvalid
name: String
Provided name.
Trait Implementations
Auto Trait Implementations
impl Send for CreateGuildFromTemplateErrorType
impl Sync for CreateGuildFromTemplateErrorType
impl Unpin for CreateGuildFromTemplateErrorType