1use crate::prelude::*;
2
3#[newtype(
9 primitive = "Timestamp",
10 item(prim = "Timestamp"),
11 ty(sanitizer(path = "sanitizer::time::CreatedAt"))
12)]
13pub struct CreatedAt {}
14
15#[newtype(
21 primitive = "Timestamp",
22 item(prim = "Timestamp"),
23 ty(sanitizer(path = "sanitizer::time::UpdatedAt"))
24)]
25pub struct UpdatedAt {}
26
27#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
32pub struct Milliseconds {}
33
34#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
39pub struct Seconds {}
40
41#[newtype(primitive = "Nat64", item(prim = "Nat64"))]
46pub struct Minutes {}