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]
name = "vented"
description = "Event driven encrypted tcp communicaton"
version = "0.6.1"
version = "0.6.2"
authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018"
readme = "README.md"

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

Loading…
Cancel
Save