ps_uuid/state/implementations/
default.rs1use rand::random;
2
3use crate::{Gregorian, NodeId, State};
4
5impl Default for State {
6 fn default() -> Self {
7 Self {
8 last_ts: Gregorian::epoch(),
9 node_id: NodeId::random(),
10 seq: random(),
11 }
12 }
13}