pub struct ChannelReport {
pub from_alias: String,
pub to_alias: String,
pub channel_point: String,
pub local_funding_amount_sat: i64,
pub confirmation_blocks: Vec<String>,
pub from_channel: Channel,
pub to_channel: Channel,
}Expand description
Result of opening and confirming a public Lightning channel.
Fields§
§from_alias: StringChannel opener alias.
to_alias: StringRemote node alias.
channel_point: StringChannel point in funding_txid:output_index form.
local_funding_amount_sat: i64Local funding amount in satoshis.
confirmation_blocks: Vec<String>Block hashes mined to confirm the funding transaction.
from_channel: ChannelChannel as reported by the opener.
to_channel: ChannelChannel as reported by the remote node.
Trait Implementations§
Source§impl Clone for ChannelReport
impl Clone for ChannelReport
Source§fn clone(&self) -> ChannelReport
fn clone(&self) -> ChannelReport
Returns a duplicate 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 ChannelReport
impl Debug for ChannelReport
Source§impl PartialEq for ChannelReport
impl PartialEq for ChannelReport
impl StructuralPartialEq for ChannelReport
Auto Trait Implementations§
impl Freeze for ChannelReport
impl RefUnwindSafe for ChannelReport
impl Send for ChannelReport
impl Sync for ChannelReport
impl Unpin for ChannelReport
impl UnsafeUnpin for ChannelReport
impl UnwindSafe for ChannelReport
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request