pub struct GetAddedNodeInfoResult {
pub added_node: String,
pub connected: bool,
pub addresses: Vec<GetAddedNodeInfoResultAddress>,
}
Fields§
§added_node: String
The node IP address or name (as provided to addnode)
connected: bool
If connected
addresses: Vec<GetAddedNodeInfoResultAddress>
Only when connected = true
Trait Implementations§
source§impl Clone for GetAddedNodeInfoResult
impl Clone for GetAddedNodeInfoResult
source§fn clone(&self) -> GetAddedNodeInfoResult
fn clone(&self) -> GetAddedNodeInfoResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetAddedNodeInfoResult
impl Debug for GetAddedNodeInfoResult
source§impl<'de> Deserialize<'de> for GetAddedNodeInfoResult
impl<'de> Deserialize<'de> for GetAddedNodeInfoResult
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
source§impl PartialEq for GetAddedNodeInfoResult
impl PartialEq for GetAddedNodeInfoResult
source§fn eq(&self, other: &GetAddedNodeInfoResult) -> bool
fn eq(&self, other: &GetAddedNodeInfoResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetAddedNodeInfoResult
impl Serialize for GetAddedNodeInfoResult
impl Eq for GetAddedNodeInfoResult
impl StructuralPartialEq for GetAddedNodeInfoResult
Auto Trait Implementations§
impl Freeze for GetAddedNodeInfoResult
impl RefUnwindSafe for GetAddedNodeInfoResult
impl Send for GetAddedNodeInfoResult
impl Sync for GetAddedNodeInfoResult
impl Unpin for GetAddedNodeInfoResult
impl UnwindSafe for GetAddedNodeInfoResult
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