pub struct AddPeerAddressResponse {
pub error: Option<String>,
pub success: bool,
}Expand description
Response for the AddPeerAddress RPC method
Fields§
§error: Option<String>error description, if the address could not be added
success: boolwhether the peer address was successfully added to the address manager table
Trait Implementations§
Source§impl Clone for AddPeerAddressResponse
impl Clone for AddPeerAddressResponse
Source§fn clone(&self) -> AddPeerAddressResponse
fn clone(&self) -> AddPeerAddressResponse
Returns a duplicate 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 AddPeerAddressResponse
impl Debug for AddPeerAddressResponse
Source§impl<'de> Deserialize<'de> for AddPeerAddressResponse
impl<'de> Deserialize<'de> for AddPeerAddressResponse
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 AddPeerAddressResponse
impl PartialEq for AddPeerAddressResponse
Source§impl Serialize for AddPeerAddressResponse
impl Serialize for AddPeerAddressResponse
impl StructuralPartialEq for AddPeerAddressResponse
Auto Trait Implementations§
impl Freeze for AddPeerAddressResponse
impl RefUnwindSafe for AddPeerAddressResponse
impl Send for AddPeerAddressResponse
impl Sync for AddPeerAddressResponse
impl Unpin for AddPeerAddressResponse
impl UnwindSafe for AddPeerAddressResponse
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