Просмотр исходного кода

specify timestamp unit in Event::timestamp

dasman 2 лет назад
Родитель
Сommit
3aeec3d861
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/event_graph/event.rs

+ 1 - 1
src/event_graph/event.rs

@@ -31,7 +31,7 @@ use super::{
 /// Representation of an event in the Event Graph
 #[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
 pub struct Event {
-    /// Timestamp of the event
+    /// Timestamp of the event in whole seconds
     pub(crate) timestamp: u64,
     /// Content of the event
     pub(crate) content: Vec<u8>,