mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 16:02:59 +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}"));
|
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 New Issue
Block a user