#[non_exhaustive]pub struct BulkGuildBan {
pub user_ids: Vec<UserId>,
pub delete_message_seconds: Option<u32>,
}Expand description
The body of Bulk Guild Ban.
discord.js counterpart: RESTPostAPIGuildBulkBanJSONBody (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.user_ids: Vec<UserId>The users to ban (max 200).
delete_message_seconds: Option<u32>How many seconds of their recent messages to delete (0-604800, 7 days).
Implementations§
Trait Implementations§
Source§impl Clone for BulkGuildBan
impl Clone for BulkGuildBan
Source§impl Debug for BulkGuildBan
impl Debug for BulkGuildBan
Source§impl Default for BulkGuildBan
impl Default for BulkGuildBan
impl Eq for BulkGuildBan
Source§impl Hash for BulkGuildBan
impl Hash for BulkGuildBan
Source§impl PartialEq for BulkGuildBan
impl PartialEq for BulkGuildBan
Source§impl Serialize for BulkGuildBan
impl Serialize for BulkGuildBan
impl StructuralPartialEq for BulkGuildBan
Auto Trait Implementations§
impl Freeze for BulkGuildBan
impl RefUnwindSafe for BulkGuildBan
impl Send for BulkGuildBan
impl Sync for BulkGuildBan
impl Unpin for BulkGuildBan
impl UnsafeUnpin for BulkGuildBan
impl UnwindSafe for BulkGuildBan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more