twilight-model 0.15.4

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

pub mod datetime;
pub mod image_hash;

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

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