pub struct NodeToAddressesConnection {
pub count: i64,
pub entities: Vec<NodeAddress>,
}Expand description
A connection between a node and the addresses it has announced for itself on Lightning Network.
Fields§
§count: i64The total count of objects in this connection, using the current filters. It is different from the number of objects returned in the current page (in the entities field).
entities: Vec<NodeAddress>The addresses for the current page of this connection.
Trait Implementations§
Source§impl Clone for NodeToAddressesConnection
impl Clone for NodeToAddressesConnection
Source§fn clone(&self) -> NodeToAddressesConnection
fn clone(&self) -> NodeToAddressesConnection
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 NodeToAddressesConnection
impl Debug for NodeToAddressesConnection
Source§impl<'de> Deserialize<'de> for NodeToAddressesConnection
impl<'de> Deserialize<'de> for NodeToAddressesConnection
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
Auto Trait Implementations§
impl Freeze for NodeToAddressesConnection
impl RefUnwindSafe for NodeToAddressesConnection
impl Send for NodeToAddressesConnection
impl Sync for NodeToAddressesConnection
impl Unpin for NodeToAddressesConnection
impl UnwindSafe for NodeToAddressesConnection
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