diff options
| author | Fuwn <[email protected]> | 2023-04-06 07:31:09 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-06 07:31:09 +0000 |
| commit | 7cdcfd516aa7f4d6950fc77af01412b4e66de020 (patch) | |
| tree | 2f3c086455ebe37f187f1ccbc8262c1811ae6ad2 /src/context/hook.rs | |
| parent | fix(context): fix async sharing (diff) | |
| download | windmark-7cdcfd516aa7f4d6950fc77af01412b4e66de020.tar.xz windmark-7cdcfd516aa7f4d6950fc77af01412b4e66de020.zip | |
refactor(router): simplify context creation
Diffstat (limited to 'src/context/hook.rs')
| -rw-r--r-- | src/context/hook.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context/hook.rs b/src/context/hook.rs index 736696f..94a6908 100644 --- a/src/context/hook.rs +++ b/src/context/hook.rs @@ -21,6 +21,7 @@ use openssl::x509::X509; use url::Url; #[allow(clippy::module_name_repetitions)] +#[derive(Clone)] pub struct HookContext<'a> { pub url: Url, pub params: Option<Params<'a, 'a>>, |