Enum twilight_http::request::guild::ban::create_ban::CreateBanErrorType [−][src]
#[non_exhaustive] pub enum CreateBanErrorType { DeleteMessageDaysInvalid { days: u64, }, }
Expand description
Type of CreateBanError
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.
The number of days’ worth of messages to delete is greater than 7.
Show fields
Fields of DeleteMessageDaysInvalid
days: u64
Provided number of days’ worth of messages to delete.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreateBanErrorType
impl Send for CreateBanErrorType
impl Sync for CreateBanErrorType
impl Unpin for CreateBanErrorType
impl UnwindSafe for CreateBanErrorType