Struct lightning::ln::msgs::NodeAnnouncement
source · pub struct NodeAnnouncement {
pub signature: Signature,
pub contents: UnsignedNodeAnnouncement,
}
Expand description
A node_announcement
message to be sent to or received from a peer.
Fields§
§signature: Signature
The signature by the node key
contents: UnsignedNodeAnnouncement
The actual content of the announcement
Trait Implementations§
source§impl Clone for NodeAnnouncement
impl Clone for NodeAnnouncement
source§fn clone(&self) -> NodeAnnouncement
fn clone(&self) -> NodeAnnouncement
Returns a copy 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 NodeAnnouncement
impl Debug for NodeAnnouncement
source§impl PartialEq<NodeAnnouncement> for NodeAnnouncement
impl PartialEq<NodeAnnouncement> for NodeAnnouncement
source§fn eq(&self, other: &NodeAnnouncement) -> bool
fn eq(&self, other: &NodeAnnouncement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for NodeAnnouncement
impl Readable for NodeAnnouncement
source§impl Writeable for NodeAnnouncement
impl Writeable for NodeAnnouncement
impl Eq for NodeAnnouncement
impl StructuralEq for NodeAnnouncement
impl StructuralPartialEq for NodeAnnouncement
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§
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