Struct iota_client::node_api::core::routes::NodeInfoWrapper
source · [−]pub struct NodeInfoWrapper {
pub node_info: InfoResponse,
pub url: String,
}Expand description
NodeInfo wrapper which contains the node info and the url from the node (useful when multiple nodes are used)
Fields
node_info: InfoResponseThe returned node info
url: StringThe url from the node which returned the node info
Trait Implementations
sourceimpl Debug for NodeInfoWrapper
impl Debug for NodeInfoWrapper
sourceimpl<'de> Deserialize<'de> for NodeInfoWrapper
impl<'de> Deserialize<'de> for NodeInfoWrapper
sourcefn 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
sourceimpl Serialize for NodeInfoWrapper
impl Serialize for NodeInfoWrapper
Auto Trait Implementations
impl RefUnwindSafe for NodeInfoWrapper
impl Send for NodeInfoWrapper
impl Sync for NodeInfoWrapper
impl Unpin for NodeInfoWrapper
impl UnwindSafe for NodeInfoWrapper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more