Add missing comment on HxEvent

This commit is contained in:
Rob Wagner 2023-10-23 22:09:52 -04:00
parent d19ba7be1d
commit 40243f32da
No known key found for this signature in database
GPG key ID: 53CCB4497B15CF61

View file

@ -160,6 +160,7 @@ impl IntoResponseParts for HxResponseTriggerAfterSwap {
} }
} }
/// Represents a client-side event carrying optional data.
#[derive(Debug, Clone, Serialize)] #[derive(Debug, Clone, Serialize)]
pub struct HxEvent { pub struct HxEvent {
pub name: String, pub name: String,