Enum twilight_http::request::guild::update_guild::UpdateGuildErrorType [−][src]
#[non_exhaustive] pub enum UpdateGuildErrorType { NameInvalid { name: String, }, }
Expand description
Type of UpdateGuildError
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.
The name length 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 RefUnwindSafe for UpdateGuildErrorType
impl Send for UpdateGuildErrorType
impl Sync for UpdateGuildErrorType
impl Unpin for UpdateGuildErrorType
impl UnwindSafe for UpdateGuildErrorType