pub struct IBtChannel {
pub state: BtOpenChannelState,
pub lsp_node_pubkey: String,
pub client_node_pubkey: String,
pub announce_channel: bool,
pub funding_tx: FundingTx,
pub closing_tx_id: Option<String>,
pub close: Option<IBtChannelClose>,
pub short_channel_id: Option<String>,
}
Fields§
§state: BtOpenChannelState
§lsp_node_pubkey: String
§client_node_pubkey: String
§announce_channel: bool
§funding_tx: FundingTx
§closing_tx_id: Option<String>
@deprecated Use close.tx_id instead.
close: Option<IBtChannelClose>
Only available if state === closed. Channels before Oct 2023 may have default values assigned that do not represent reality.
short_channel_id: Option<String>
@deprecated Available as soon as the channel is confirmed.
Trait Implementations§
Source§impl Clone for IBtChannel
impl Clone for IBtChannel
Source§fn clone(&self) -> IBtChannel
fn clone(&self) -> IBtChannel
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 IBtChannel
impl Debug for IBtChannel
Source§impl<'de> Deserialize<'de> for IBtChannel
impl<'de> Deserialize<'de> for IBtChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IBtChannel
impl RefUnwindSafe for IBtChannel
impl Send for IBtChannel
impl Sync for IBtChannel
impl Unpin for IBtChannel
impl UnwindSafe for IBtChannel
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