MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / Status

Class Status

opensuse-proxy-cache/src/cache.rs:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19#[derive(Debug, Serialize, Deserialize, Clone)]
20pub 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)]
31pub struct CacheMeta {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected