Enum twilight_http::request::guild::member::add_guild_member::AddGuildMemberError [−][src]
#[non_exhaustive] pub enum AddGuildMemberError { NicknameInvalid { nickname: String, }, }
Member cannot be added as configured.
Variants (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
impl Clone for AddGuildMemberError
[src]
impl Clone for AddGuildMemberError
[src]fn clone(&self) -> AddGuildMemberError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for AddGuildMemberError
impl RefUnwindSafe for AddGuildMemberError
impl Send for AddGuildMemberError
impl Send for AddGuildMemberError
impl Sync for AddGuildMemberError
impl Sync for AddGuildMemberError
impl Unpin for AddGuildMemberError
impl Unpin for AddGuildMemberError
impl UnwindSafe for AddGuildMemberError
impl UnwindSafe for AddGuildMemberError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,