Skip to content

Instantly share code, notes, and snippets.

@peterbudai
Last active Jun 25, 2019
Embed
What would you like to do?
Rust struct defining the Dropbox LAN sync protocol beacon packet for deserialization with Serde JSON
#[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