| 18 | |
| 19 | #[derive(Debug, Serialize, Deserialize, Clone)] |
| 20 | pub struct Status { |
| 21 | #[serde(alias = "req_path")] |
| 22 | pub cache_key: PathBuf, |
| 23 | pub headers: BTreeMap<String, String>, |
| 24 | // Soft Hard |
| 25 | pub expiry: Option<(OffsetDateTime, OffsetDateTime)>, |
| 26 | pub cls: Classification, |
| 27 | pub nxtime: Option<OffsetDateTime>, |
| 28 | } |
| 29 | |
| 30 | #[derive(Debug)] |
| 31 | pub struct CacheMeta { |
nothing calls this directly
no outgoing calls
no test coverage detected