mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-12-27 02:39:32 +01:00
Add missing comment on HxEvent
This commit is contained in:
parent
d19ba7be1d
commit
40243f32da
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue