Skip to main content

Collectable

Trait Collectable 

Source
pub trait Collectable: Item { }
Expand description

What collectors can yield: ComponentInteraction, ModalInteraction, Arc<MessageCreate> and ReactionEvent. This trait is sealed.

discord.js counterpart: none (what a collector can collect).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Collectable for Arc<MessageCreate>

Implementors§