pub struct NodeAnnouncementDetails {
pub features: NodeFeatures,
pub last_update: u32,
pub rgb: [u8; 3],
pub alias: NodeAlias,
pub addresses: Vec<SocketAddress>,
}Expand description
Non-relayable information received in the latest node_announcement from this node.
Fields§
§features: NodeFeaturesProtocol features the node announced support for
last_update: u32When the last known update to the node state was issued. Value is opaque, as set in the announcement.
rgb: [u8; 3]Color assigned to the node
alias: NodeAliasMoniker assigned to the node. May be invalid or malicious (eg control chars), should not be exposed to the user.
addresses: Vec<SocketAddress>Internet-level addresses via which one can connect to the node
Trait Implementations§
Source§impl Clone for NodeAnnouncementDetails
impl Clone for NodeAnnouncementDetails
Source§fn clone(&self) -> NodeAnnouncementDetails
fn clone(&self) -> NodeAnnouncementDetails
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 NodeAnnouncementDetails
impl Debug for NodeAnnouncementDetails
Source§impl PartialEq for NodeAnnouncementDetails
impl PartialEq for NodeAnnouncementDetails
impl Eq for NodeAnnouncementDetails
impl StructuralPartialEq for NodeAnnouncementDetails
Auto Trait Implementations§
impl Freeze for NodeAnnouncementDetails
impl RefUnwindSafe for NodeAnnouncementDetails
impl Send for NodeAnnouncementDetails
impl Sync for NodeAnnouncementDetails
impl Unpin for NodeAnnouncementDetails
impl UnwindSafe for NodeAnnouncementDetails
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