Struct lightning::ln::msgs::NodeAnnouncement [−][src]
pub struct NodeAnnouncement { pub signature: Signature, pub contents: UnsignedNodeAnnouncement, }
Expand description
A node_announcement message to be sent or received from a peer
Fields
signature: Signature
The signature by the node key
contents: UnsignedNodeAnnouncement
The actual content of the announcement
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Writes self out to a Vec
Auto Trait Implementations
impl RefUnwindSafe for NodeAnnouncement
impl Send for NodeAnnouncement
impl Sync for NodeAnnouncement
impl Unpin for NodeAnnouncement
impl UnwindSafe for NodeAnnouncement
Blanket Implementations
Mutably borrows from an owned value. Read more