Enum twilight_http::request::channel::invite::create_invite::CreateInviteErrorType [−][src]
#[non_exhaustive] pub enum CreateInviteErrorType { MaxAgeTooOld { provided: u64, }, MaxUsesTooLarge { provided: u64, }, }
Expand description
Type of CreateInviteError
that occurred.
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.
Configured maximum age is over 604800.
Show fields
Fields of MaxAgeTooOld
provided: u64
Provided maximum age.
Configured maximum uses is over 100.
Show fields
Fields of MaxUsesTooLarge
provided: u64
Provided maximum uses.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreateInviteErrorType
impl Send for CreateInviteErrorType
impl Sync for CreateInviteErrorType
impl Unpin for CreateInviteErrorType
impl UnwindSafe for CreateInviteErrorType