pub struct AddedNode {
pub added_node: String,
pub connected: bool,
pub addresses: Vec<AddedNodeAddress>,
}Expand description
An item from the list returned by the JSON-RPC method getaddednodeinfo.
Fields§
§added_node: StringThe node IP address or name (as provided to addnode).
connected: boolIf connected.
addresses: Vec<AddedNodeAddress>Only when connected = true.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddedNode
impl<'de> Deserialize<'de> for AddedNode
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
impl StructuralPartialEq for AddedNode
Auto Trait Implementations§
impl Freeze for AddedNode
impl RefUnwindSafe for AddedNode
impl Send for AddedNode
impl Sync for AddedNode
impl Unpin for AddedNode
impl UnwindSafe for AddedNode
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