mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 13:51:50 +01:00
add serialize
This commit is contained in:
parent
94283a73c2
commit
e6bbda0efc
@ -96,7 +96,7 @@ fn test_async_extractor_async() {
|
||||
assert_eq!(bytes, Bytes::from_static(b"{\"test\":1}"));
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Serialize)]
|
||||
struct FormData {
|
||||
username: String,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user