pub struct NodeInfo {
pub channels: Vec<u64>,
pub announcement_info: Option<NodeAnnouncementInfo>,
/* private fields */
}Expand description
Details about a node in the network, known from the network announcement.
Fields§
§channels: Vec<u64>All valid channels a node has announced
announcement_info: Option<NodeAnnouncementInfo>More information about a node from node_announcement. Optional because we store a Node entry after learning about it from a channel announcement, but before receiving a node announcement.
Implementations§
Trait Implementations§
Source§impl Writeable for NodeInfo
impl Writeable for NodeInfo
impl Eq for NodeInfo
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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