1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 06:54:46 +00:00

derive: AuthStatus<T> needs T to always be Clone

This commit is contained in:
Dominic 2020-01-25 14:04:26 +01:00
parent 342fd2a647
commit 6e9d8bd158
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 2 additions and 10 deletions

View file

@ -127,7 +127,7 @@ simply add it to your pipeline and request it inside your handler:
#[rest_resource(read_all)]
struct AuthResource;
#[derive(Debug, Deserialize)]
#[derive(Debug, Deserialize, Clone)]
struct AuthData {
sub: String,
exp: u64