mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 21:38:46 +00:00
add serialize
This commit is contained in:
parent
94283a73c2
commit
e6bbda0efc
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ fn test_async_extractor_async() {
|
||||||
assert_eq!(bytes, Bytes::from_static(b"{\"test\":1}"));
|
assert_eq!(bytes, Bytes::from_static(b"{\"test\":1}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize, Serialize)]
|
||||||
struct FormData {
|
struct FormData {
|
||||||
username: String,
|
username: String,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue