add: blocked users page
This commit is contained in:
parent
6893aeedb5
commit
3706764437
18 changed files with 427 additions and 178 deletions
|
@ -7,6 +7,12 @@ pub const EPOCH_2024: u64 = 1704067200000;
|
|||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub struct Snowflake(String);
|
||||
|
||||
impl Default for Snowflake {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl Snowflake {
|
||||
pub fn builder() -> Builder {
|
||||
Builder::new().epoch(UNIX_EPOCH + Duration::from_millis(EPOCH_2024))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue