1use crate::design::prelude::*;
2
3#[newtype(
11 primitive = "Timestamp",
12 item(prim = "Timestamp"),
13 ty(sanitizer(path = "base::sanitizer::time::CreatedAt"))
14)]
15pub struct CreatedAt {}
16
17#[newtype(
25 primitive = "Timestamp",
26 item(prim = "Timestamp"),
27 ty(sanitizer(path = "base::sanitizer::time::UpdatedAt"))
28)]
29pub struct UpdatedAt {}
30
31#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
38pub struct Milliseconds {}
39
40#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
47pub struct Seconds {}
48
49#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
56pub struct Minutes {}