aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-04-27 05:06:35 +0000
committerFuwn <[email protected]>2026-04-27 05:06:35 +0000
commit694ef4921ea3f8453bcd603f9af81b55dea6c695 (patch)
tree1986b17ac409ae87abdbc4daca377e5e43f332f5
parentfix(response): Add missing certificate_not_authorised response macro (diff)
downloadarchived-windmark-694ef4921ea3f8453bcd603f9af81b55dea6c695.tar.xz
archived-windmark-694ef4921ea3f8453bcd603f9af81b55dea6c695.zip
refactor(response)!: Mark Response non_exhaustive to insulate downstream from future field additions
-rw-r--r--src/response.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/response.rs b/src/response.rs
index 9e74773..130e93b 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -14,6 +14,7 @@ macro_rules! response {
/// The content and response type a handler should reply with.
#[derive(Clone)]
+#[non_exhaustive]
pub struct Response {
pub status: i32,
pub mime: Option<String>,