diff options
Diffstat (limited to 'src/channel/snapshot.rs')
| -rw-r--r-- | src/channel/snapshot.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel/snapshot.rs b/src/channel/snapshot.rs index 2b7d89a..129c0d6 100644 --- a/src/channel/snapshot.rs +++ b/src/channel/snapshot.rs @@ -2,12 +2,12 @@ use super::{ event::{Created, Event}, Id, }; -use crate::clock::DateTime; +use crate::{clock::DateTime, name::Name}; #[derive(Clone, Debug, Eq, PartialEq, serde::Serialize)] pub struct Channel { pub id: Id, - pub name: String, + pub name: Name, #[serde(skip_serializing_if = "Option::is_none")] pub deleted_at: Option<DateTime>, } |
