Struct lightning::ln::msgs::ChannelUpdate
source · pub struct ChannelUpdate {
pub signature: Signature,
pub contents: UnsignedChannelUpdate,
}
Expand description
A channel_update
message to be sent to or received from a peer.
Fields§
§signature: Signature
A signature of the channel update
contents: UnsignedChannelUpdate
The actual channel update
Trait Implementations§
source§impl Clone for ChannelUpdate
impl Clone for ChannelUpdate
source§fn clone(&self) -> ChannelUpdate
fn clone(&self) -> ChannelUpdate
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 ChannelUpdate
impl Debug for ChannelUpdate
source§impl Hash for ChannelUpdate
impl Hash for ChannelUpdate
source§impl PartialEq for ChannelUpdate
impl PartialEq for ChannelUpdate
source§impl Readable for ChannelUpdate
impl Readable for ChannelUpdate
source§impl Writeable for ChannelUpdate
impl Writeable for ChannelUpdate
impl Eq for ChannelUpdate
impl StructuralPartialEq for ChannelUpdate
Auto Trait Implementations§
impl Freeze for ChannelUpdate
impl RefUnwindSafe for ChannelUpdate
impl Send for ChannelUpdate
impl Sync for ChannelUpdate
impl Unpin for ChannelUpdate
impl UnwindSafe for ChannelUpdate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)