Enum twilight_http::request::user::get_current_user_guilds::GetCurrentUserGuildsError [−][src]
#[non_exhaustive] pub enum GetCurrentUserGuildsError { LimitInvalid { limit: u64, }, }
The error created when the current guilds can not be retrieved 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 maximum number of guilds to retrieve is 0 or more than 100.
Show fields
Fields of LimitInvalid
limit: u64
Provided maximum number of guilds to retrieve.
Trait Implementations
impl Clone for GetCurrentUserGuildsError
[src]
impl Clone for GetCurrentUserGuildsError
[src]fn clone(&self) -> GetCurrentUserGuildsError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Display for GetCurrentUserGuildsError
[src]
impl Display for GetCurrentUserGuildsError
[src]Auto Trait Implementations
impl RefUnwindSafe for GetCurrentUserGuildsError
impl RefUnwindSafe for GetCurrentUserGuildsError
impl Send for GetCurrentUserGuildsError
impl Send for GetCurrentUserGuildsError
impl Sync for GetCurrentUserGuildsError
impl Sync for GetCurrentUserGuildsError
impl Unpin for GetCurrentUserGuildsError
impl Unpin for GetCurrentUserGuildsError
impl UnwindSafe for GetCurrentUserGuildsError
impl UnwindSafe for GetCurrentUserGuildsError
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>,