Module all

Source
Expand description

Special module that re-exports most public items from this crate.

Useful, because you don’t have to remember the full paths of serenity items.

Not exported:

  • crate::json: it’s a general-purpose JSON wrapper, not intrinsic to serenity
  • [crate::framework::standard]: has many standard_framework-specific items that may collide with items from the rest of serenity

Re-exports§

pub use crate::utils::token::validate as validate_token;
pub use crate::utils::token::InvalidToken;
pub use crate::async_trait;
pub use crate::builder::*;
pub use crate::cache::*;
pub use crate::client::*;
pub use crate::collector::*;
pub use crate::constants::close_codes::*;
pub use crate::constants::*;
pub use crate::framework::*;
pub use crate::gateway::*;
pub use crate::http::*;
pub use crate::utils::*;
pub use crate::model::prelude::*;
pub use crate::*;