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