-
-
Save peterbudai/1668d614165637110e2a3682dcc65bce to your computer and use it in GitHub Desktop.
Rust struct defining the Dropbox LAN sync protocol beacon packet for deserialization with Serde JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Deserialize)] | |
struct BeaconPacket { | |
host_int: u128, | |
version: Vec<usize>, | |
displayname: String, | |
port: u16, | |
namespaces: Vec<u128>, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment