pub struct GetnodeaddressesParams {
pub count: Option<i64>,
pub network: Option<String>,
}Expand description
Return known addresses, after filtering for quality and recency. These can potentially be used to find new peers in the network. The total number of addresses known to the node may be higher.
Fields§
§count: Option<i64>The maximum number of addresses to return. Specify 0 to return all known addresses.
network: Option<String>Return only addresses of the specified network. Can be one of: ipv4, ipv6, onion, i2p, cjdns.
Trait Implementations§
Source§impl Debug for GetnodeaddressesParams
impl Debug for GetnodeaddressesParams
Auto Trait Implementations§
impl Freeze for GetnodeaddressesParams
impl RefUnwindSafe for GetnodeaddressesParams
impl Send for GetnodeaddressesParams
impl Sync for GetnodeaddressesParams
impl Unpin for GetnodeaddressesParams
impl UnwindSafe for GetnodeaddressesParams
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