1
2
3
4
5
6
7
8
9
10
11
12
//! Utilities for efficiently parsing and representing data from Discord's API.

pub mod datetime;
pub mod hex_color;
pub mod image_hash;

pub use self::{datetime::Timestamp, hex_color::HexColor, image_hash::ImageHash};

#[allow(clippy::trivially_copy_pass_by_ref)]
pub(crate) fn is_false(value: &bool) -> bool {
    !value
}