mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 15:49:58 -07:00
global: snapshot
This commit is contained in:
@@ -3,12 +3,14 @@ use std::ops::{Add, AddAssign, Div};
|
||||
use allocative::Allocative;
|
||||
use derive_deref::Deref;
|
||||
use jiff::{civil::date, tz::TimeZone};
|
||||
use schemars::JsonSchema;
|
||||
use serde::Serialize;
|
||||
use vecdb::{CheckedSub, StoredCompressed};
|
||||
use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};
|
||||
|
||||
use super::Date;
|
||||
|
||||
/// Timestamp
|
||||
#[derive(
|
||||
Debug,
|
||||
Deref,
|
||||
@@ -25,6 +27,7 @@ use super::Date;
|
||||
Serialize,
|
||||
StoredCompressed,
|
||||
Allocative,
|
||||
JsonSchema,
|
||||
)]
|
||||
pub struct Timestamp(u32);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user