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,