Crate dflake[−][src]
dflake
A simple Discord snowflake parsing library. Comes with optional chrono support using the chrono_support
feature.
Sample Usage
let dflake = dflake::parse(3971046231244935168); println!("My internal process ID is: {}", dflake.process_id);
Structs
Dflake | Structure holding a valid Discord snowflake. |
Enums
ParseError | Things that can go wrong while parsing a |
Functions
parse | Tries to parse a u64 into a |
parse_str | Tries to parse a string into a |