Struct iota_client::client::NodeInfoWrapper
source · pub struct NodeInfoWrapper {
pub nodeinfo: NodeInfo,
pub url: String,
}
Expand description
NodeInfo wrapper which contains the nodeinfo and the url from the node (useful when multiple nodes are used)
Fields§
§nodeinfo: NodeInfo
The returned nodeinfo
url: String
The url from the node which returned the nodeinfo
Trait Implementations§
source§impl Debug for NodeInfoWrapper
impl Debug for NodeInfoWrapper
source§impl<'de> Deserialize<'de> for NodeInfoWrapper
impl<'de> Deserialize<'de> for NodeInfoWrapper
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more