mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic_http: use untagged enum for Response; update TODO
This commit is contained in:
parent
6b1f11635b
commit
d2e950b431
2 changed files with 5 additions and 0 deletions
|
|
@ -161,6 +161,7 @@ impl Request {
|
|||
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
#[serde(untagged)]
|
||||
pub enum Response {
|
||||
AnnounceSuccess(AnnounceResponseSuccess),
|
||||
AnnounceFailure(AnnounceResponseFailure),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue