Pārlūkot izejas kodu

specify timestamp unit in Event::timestamp

dasman 2 gadi atpakaļ
vecāks
revīzija
3aeec3d861
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 /// Representation of an event in the Event Graph
 #[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
 #[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
 pub struct Event {
 pub struct Event {
-    /// Timestamp of the event
+    /// Timestamp of the event in whole seconds
     pub(crate) timestamp: u64,
     pub(crate) timestamp: u64,
     /// Content of the event
     /// Content of the event
     pub(crate) content: Vec<u8>,
     pub(crate) content: Vec<u8>,