pub struct AnnouncementSignatures {
pub channel_id: [u8; 32],
pub short_channel_id: u64,
pub node_signature: Signature,
pub bitcoin_signature: Signature,
}
Expand description
An announcement_signatures message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
short_channel_id: u64
The short channel ID
node_signature: Signature
A signature by the node key
bitcoin_signature: Signature
A signature by the funding key
Trait Implementations
sourceimpl Clone for AnnouncementSignatures
impl Clone for AnnouncementSignatures
sourcefn clone(&self) -> AnnouncementSignatures
fn clone(&self) -> AnnouncementSignatures
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnnouncementSignatures
impl Debug for AnnouncementSignatures
sourceimpl PartialEq<AnnouncementSignatures> for AnnouncementSignatures
impl PartialEq<AnnouncementSignatures> for AnnouncementSignatures
sourcefn eq(&self, other: &AnnouncementSignatures) -> bool
fn eq(&self, other: &AnnouncementSignatures) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnnouncementSignatures) -> bool
fn ne(&self, other: &AnnouncementSignatures) -> bool
This method tests for !=
.
sourceimpl Readable for AnnouncementSignatures
impl Readable for AnnouncementSignatures
sourceimpl Writeable for AnnouncementSignatures
impl Writeable for AnnouncementSignatures
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
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
impl StructuralPartialEq for AnnouncementSignatures
Auto Trait Implementations
impl RefUnwindSafe for AnnouncementSignatures
impl Send for AnnouncementSignatures
impl Sync for AnnouncementSignatures
impl Unpin for AnnouncementSignatures
impl UnwindSafe for AnnouncementSignatures
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more