twilight_model/util/
mod.rs

1//! Utilities for efficiently parsing and representing data from Discord's API.
2
3pub mod datetime;
4pub mod hex_color;
5pub mod image_hash;
6pub(crate) mod mustbe;
7
8pub use self::{datetime::Timestamp, hex_color::HexColor, image_hash::ImageHash};
9
10#[allow(clippy::trivially_copy_pass_by_ref)]
11pub(crate) fn is_false(value: &bool) -> bool {
12    !value
13}