mirror of
https://github.com/robertwayne/axum-htmx
synced 2024-12-26 02:09:33 +01:00
Add missing derives on HxHistoryRestoreRequest
This commit is contained in:
parent
07b22697a2
commit
bddfc01f97
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ where
|
|||
///
|
||||
/// This extractor will always return a value. If the header is not present,
|
||||
/// it will return `false`.
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct HxHistoryRestoreRequest(pub bool);
|
||||
|
||||
#[axum::async_trait]
|
||||
|
|
Loading…
Reference in a new issue