Enum twilight_http::request::guild::member::add_guild_member::AddGuildMemberErrorType [−][src]
#[non_exhaustive] pub enum AddGuildMemberErrorType { NicknameInvalid { nickname: String, }, }
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.
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 AddGuildMemberErrorType
impl Send for AddGuildMemberErrorType
impl Sync for AddGuildMemberErrorType
impl Unpin for AddGuildMemberErrorType
impl UnwindSafe for AddGuildMemberErrorType