Enum twilight_http::request::guild::member::update_guild_member::UpdateGuildMemberErrorType [−][src]
#[non_exhaustive] pub enum UpdateGuildMemberErrorType { NicknameInvalid { nickname: String, }, }
Expand description
Type of UpdateGuildMemberError
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 nickname is either empty or the length is more than 32 UTF-16 characters.
Show fields
Fields of NicknameInvalid
nickname: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UpdateGuildMemberErrorType
impl Send for UpdateGuildMemberErrorType
impl Sync for UpdateGuildMemberErrorType
impl Unpin for UpdateGuildMemberErrorType
impl UnwindSafe for UpdateGuildMemberErrorType