diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-02 01:31:43 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-02 01:31:43 -0400 |
| commit | 469613872f6fb19f4579b387e19b2bc38fa52f51 (patch) | |
| tree | 16edc3e8fac1a418c4b9ed5450167a793a7d6c8b /src/channel/mod.rs | |
| parent | 6f07e6869bbf62903ac83c9bc061e7bde997e6a8 (diff) | |
Package up common event fields as Instant
Diffstat (limited to 'src/channel/mod.rs')
| -rw-r--r-- | src/channel/mod.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/channel/mod.rs b/src/channel/mod.rs index 2672084..4baa7e3 100644 --- a/src/channel/mod.rs +++ b/src/channel/mod.rs @@ -1,4 +1,4 @@ -use crate::{clock::DateTime, event::Sequence}; +use crate::event::Instant; pub mod app; mod id; @@ -12,7 +12,5 @@ pub struct Channel { pub id: Id, pub name: String, #[serde(skip)] - pub created_at: DateTime, - #[serde(skip)] - pub created_sequence: Sequence, + pub created: Instant, } |
