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
sourceimpl Clone for GetAddedNodeInfoResult
impl Clone for GetAddedNodeInfoResult
sourcefn clone(&self) -> GetAddedNodeInfoResult
fn clone(&self) -> GetAddedNodeInfoResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetAddedNodeInfoResult
impl Debug for GetAddedNodeInfoResult
sourceimpl<'de> Deserialize<'de> for GetAddedNodeInfoResult
impl<'de> Deserialize<'de> for GetAddedNodeInfoResult
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 PartialEq<GetAddedNodeInfoResult> for GetAddedNodeInfoResult
impl PartialEq<GetAddedNodeInfoResult> for GetAddedNodeInfoResult
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetAddedNodeInfoResult
impl Serialize for GetAddedNodeInfoResult
impl Eq for GetAddedNodeInfoResult
impl StructuralEq for GetAddedNodeInfoResult
impl StructuralPartialEq for GetAddedNodeInfoResult
Auto Trait Implementations
impl RefUnwindSafe for GetAddedNodeInfoResult
impl Send for GetAddedNodeInfoResult
impl Sync for GetAddedNodeInfoResult
impl Unpin for GetAddedNodeInfoResult
impl UnwindSafe for GetAddedNodeInfoResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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