From 40243f32da40df8a7ad827a12677a689e8379391 Mon Sep 17 00:00:00 2001 From: Rob Wagner Date: Mon, 23 Oct 2023 22:09:52 -0400 Subject: [PATCH] Add missing comment on HxEvent --- src/responders/serde.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/responders/serde.rs b/src/responders/serde.rs index 8121af4..d60eb8d 100644 --- a/src/responders/serde.rs +++ b/src/responders/serde.rs @@ -160,6 +160,7 @@ impl IntoResponseParts for HxResponseTriggerAfterSwap { } } +/// Represents a client-side event carrying optional data. #[derive(Debug, Clone, Serialize)] pub struct HxEvent { pub name: String,