Get the description if a header is loaded.
(&self)
| 171 | |
| 172 | /// Get the description if a header is loaded. |
| 173 | pub fn description(&self) -> Option<&str> { |
| 174 | self.header.as_ref().and_then(|h| h.description.as_deref()) |
| 175 | } |
| 176 | |
| 177 | /// Get the timestamp if a header is loaded. |
| 178 | pub fn timestamp(&self) -> Option<chrono::DateTime<chrono::Utc>> { |