Struct lightning::ln::msgs::AcceptChannel
source · pub struct AcceptChannel {
pub common_fields: CommonAcceptChannelFields,
pub channel_reserve_satoshis: u64,
}
Expand description
An accept_channel
message to be sent to or received from a peer.
Used in V1 channel establishment
Fields§
§common_fields: CommonAcceptChannelFields
Common fields of accept_channel(2)
-like messages
channel_reserve_satoshis: u64
The minimum value unencumbered by HTLCs for the counterparty to keep in the channel
Trait Implementations§
source§impl Clone for AcceptChannel
impl Clone for AcceptChannel
source§fn clone(&self) -> AcceptChannel
fn clone(&self) -> AcceptChannel
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 AcceptChannel
impl Debug for AcceptChannel
source§impl Hash for AcceptChannel
impl Hash for AcceptChannel
source§impl PartialEq for AcceptChannel
impl PartialEq for AcceptChannel
source§impl Readable for AcceptChannel
impl Readable for AcceptChannel
source§impl Writeable for AcceptChannel
impl Writeable for AcceptChannel
impl Eq for AcceptChannel
impl StructuralPartialEq for AcceptChannel
Auto Trait Implementations§
impl Freeze for AcceptChannel
impl RefUnwindSafe for AcceptChannel
impl Send for AcceptChannel
impl Sync for AcceptChannel
impl Unpin for AcceptChannel
impl UnwindSafe for AcceptChannel
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
)