pub struct NodeDetail {
pub node: String,
pub network_id: String,
pub implementation: String,
pub pow: bool,
}
Expand description
JSON struct for NodeDetail from the node_pool_urls
Fields§
§node: String
Iota node url
network_id: String
Network id
implementation: String
Implementation name
pow: bool
Enabled PoW
Trait Implementations§
Source§impl Debug for NodeDetail
impl Debug for NodeDetail
Source§impl<'de> Deserialize<'de> for NodeDetail
impl<'de> Deserialize<'de> for NodeDetail
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 NodeDetail
impl RefUnwindSafe for NodeDetail
impl Send for NodeDetail
impl Sync for NodeDetail
impl Unpin for NodeDetail
impl UnwindSafe for NodeDetail
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