mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
aquatic_ws: shorten field names in ConnectionMeta, PeerConnection
This commit is contained in:
parent
da2d5986b9
commit
b76f8cdebc
4 changed files with 16 additions and 18 deletions
|
|
@ -96,7 +96,7 @@ pub struct AnnounceRequest {
|
|||
pub peer_id: PeerId,
|
||||
/// Just called "left" in protocol
|
||||
#[serde(rename = "left")]
|
||||
pub bytes_left: Option<usize>, // FIXME: I had this set as bool before, check!
|
||||
pub bytes_left: Option<usize>,
|
||||
/// Can be empty. Then, default is "update"
|
||||
#[serde(default)]
|
||||
pub event: AnnounceEvent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue