pub type NodeInfo<'a> = NodeInfoInternal<&'a str>;Aliased Type§
pub struct NodeInfo<'a> {
pub version: &'a str,
pub software: Software<&'a str>,
pub protocols: Vec<&'a str>,
pub services: Services<&'a str>,
pub open_registrations: bool,
pub usage: Usage,
pub metadata: Map<String, Value>,
}Fields§
§version: &'a str§software: Software<&'a str>§protocols: Vec<&'a str>§services: Services<&'a str>§open_registrations: bool§usage: Usage§metadata: Map<String, Value>Implementations§
Trait Implementations§
Source§impl<'a> From<LegacyNodeInfo<'a>> for NodeInfo<'a>
impl<'a> From<LegacyNodeInfo<'a>> for NodeInfo<'a>
Source§fn from(other: LegacyNodeInfo<'a>) -> Self
fn from(other: LegacyNodeInfo<'a>) -> Self
Converts to this type from the input type.