Implement Clone for CookieJar, PrivateCookieJar and SignedCookieJar (#1808)

This commit is contained in:
Dan Handrea
2023-03-03 11:13:25 +00:00
committed by GitHub
parent aa2cbf6920
commit e167cfc325
4 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ pub use cookie::Key;
/// .route("/me", get(me));
/// # let app: Router = app;
/// ```
#[derive(Debug, Default)]
#[derive(Debug, Default, Clone)]
pub struct CookieJar {
jar: cookie::CookieJar,
}