pub struct NodeInfoWrapper {
pub nodeinfo: InfoResponse,
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: InfoResponse
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
Auto Trait Implementations§
impl Freeze for NodeInfoWrapper
impl RefUnwindSafe for NodeInfoWrapper
impl Send for NodeInfoWrapper
impl Sync for NodeInfoWrapper
impl Unpin for NodeInfoWrapper
impl UnwindSafe for NodeInfoWrapper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more