Enum twilight_http::request::guild::member::update_guild_member::UpdateGuildMemberError [−][src]
#[non_exhaustive] pub enum UpdateGuildMemberError { NicknameInvalid { nickname: String, }, }
The error created when the member can not be updated 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.
The 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 UpdateGuildMemberError
[src]
impl Clone for UpdateGuildMemberError
[src]fn clone(&self) -> UpdateGuildMemberError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateGuildMemberError
impl RefUnwindSafe for UpdateGuildMemberError
impl Send for UpdateGuildMemberError
impl Send for UpdateGuildMemberError
impl Sync for UpdateGuildMemberError
impl Sync for UpdateGuildMemberError
impl Unpin for UpdateGuildMemberError
impl Unpin for UpdateGuildMemberError
impl UnwindSafe for UpdateGuildMemberError
impl UnwindSafe for UpdateGuildMemberError
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>,