Skip to content

Commit

Permalink
doc(types): add comment for dismissed_events_bucket
Browse files Browse the repository at this point in the history
Co-authored-by: Lachezar Lechev <[email protected]>
  • Loading branch information
tymmesyde and elpiel authored Dec 14, 2023
1 parent 720ece5 commit 453c3d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/events/dimissed_events_bucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ use crate::types::profile::UID;
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct DismissedEventsBucket {
pub uid: UID,
/// the key is the event (modal or notification) that has been dismissed
/// while the value is the time at which it was dismissed.
pub items: HashMap<String, DateTime<Local>>,
}

Expand Down

0 comments on commit 453c3d2

Please sign in to comment.