64bit id [–timestamp(40)–|–shard_id(8)–|–seq_id(16)–]40 bit - timestamp (in milliseconds) started from 2023-04-09 0:00:00 UTC, 34 years available (from 2023 to 2057)8 bit - shard_id ([datacenter_id / instance_id] with thread_id), 256 values16 bit - random sequence id (unique for thread / per thread), 65_536 valuesBlowfish for encryptionZBASE32 for encoding into 13 length string (example: “ifs1gp9dw8hdw”)create ~ 50ns (~ 21k in 1ms or 21m in 1s) in 1 thread
#[get_type(idx = 1)] in fields#[get_type(flatten)] for unnamed structs#[get_type(with_type(Type))] for named struct fields#[get_type(unimplemented)] for named struct fields#[get_type(custom("name", &[Typ::Bool, Typ::Str]))] for named struct fields