Crate nodeinfo_upub
Source pub use types::LegacyNodeInfo;pub use types::NodeInfo;pub use types::NodeInfoOwned;
- types
- NodeInfoError
- Errors that can occur when serializing or deserializing nodeinfo JSON.
- deserialize
- Deserialize a nodeinfo JSON string into the NodeInfo struct.
It can handle versions from v1.0 up to v2.1.
- deserialize_owned
- Deserialize a nodeinfo JSON string into the NodeInfoOwned struct.
It can handle versions from v1.0 up to v2.1.
- serialize
- Serialize a NodeInfo struct into a JSON String.
Just a wrapper for serde.