Expose fields of node list item

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 4 years ago
parent a8900d5246
commit 833dd1a47b
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,7 +1,7 @@
[package] [package]
name = "vented" name = "vented"
description = "Event driven encrypted tcp communicaton" description = "Event driven encrypted tcp communicaton"
version = "0.6.1" version = "0.6.2"
authors = ["trivernis <trivernis@protonmail.com>"] authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"
readme = "README.md" readme = "README.md"

@ -89,9 +89,9 @@ pub struct NodeListPayload {
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
pub struct NodeListElement { pub struct NodeListElement {
id: String, pub id: String,
public_key: [u8; 32], pub public_key: [u8; 32],
address: Option<String>, pub address: Option<String>,
} }
impl VentedServer { impl VentedServer {

Loading…
Cancel
Save