Explorar el Código

specify timestamp unit in Event::timestamp

dasman hace 2 años
padre
commit
3aeec3d861
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>,