mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +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…
Reference in New Issue
Block a user