pub struct OpenChannelResponse {
pub channel_id: ChannelId,
pub user_channel_id: UserChannelId,
}Expand description
The response to a request to open a channel to the LSP.
Fields§
§channel_id: ChannelIdThe id of the newly opened channel.
user_channel_id: UserChannelIdA user-provided id for this channel that’s associated with the channel throughout its whole lifetime, as the Lightning protocol channel id is only known after negotiating the channel and creating the funding tx.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenChannelResponse
impl<'de> Deserialize<'de> for OpenChannelResponse
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 OpenChannelResponse
impl RefUnwindSafe for OpenChannelResponse
impl Send for OpenChannelResponse
impl Sync for OpenChannelResponse
impl Unpin for OpenChannelResponse
impl UnwindSafe for OpenChannelResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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