Module prelude

Source
Expand description

The model prelude re-exports all types in the model sub-modules.

This allows for quick and easy access to all of the model types.

§Examples

Import all model types into scope:

use serenity::model::prelude::*;

Re-exports§

pub use super::guild::automod::EventType as AutomodEventType;