Get the timestamp if a header is loaded.
(&self)
| 176 | |
| 177 | /// Get the timestamp if a header is loaded. |
| 178 | pub fn timestamp(&self) -> Option<chrono::DateTime<chrono::Utc>> { |
| 179 | self.header.as_ref().map(|h| h.timestamp) |
| 180 | } |
| 181 | |
| 182 | /// Get the authors if a header is loaded. |
| 183 | pub fn authors(&self) -> Option<&[atomic_core::change::Author]> { |