[][src]Struct lnrpc::ChannelCloseSummary

pub struct ChannelCloseSummary {
    pub channel_point: String,
    pub chan_id: u64,
    pub chain_hash: String,
    pub closing_tx_hash: String,
    pub remote_pubkey: String,
    pub capacity: i64,
    pub close_height: u32,
    pub settled_balance: i64,
    pub time_locked_balance: i64,
    pub close_type: i32,
    pub open_initiator: i32,
    pub close_initiator: i32,
}

Fields

channel_point: Stringchan_id: u64chain_hash: Stringclosing_tx_hash: Stringremote_pubkey: Stringcapacity: i64close_height: u32settled_balance: i64time_locked_balance: i64close_type: i32open_initiator: i32

Open initiator is the party that initiated opening the channel. Note that this value may be unknown if the channel was closed before we migrated to store open channel information after close.

close_initiator: i32

Close initiator indicates which party initiated the close. This value will be unknown for channels that were cooperatively closed before we started tracking cooperative close initiators. Note that this indicates which party initiated a close, and it is possible for both to initiate cooperative or force closes, although only one party's close will be confirmed on chain.

Implementations

impl ChannelCloseSummary[src]

pub fn close_type(&self) -> ClosureType[src]

Returns the enum value of close_type, or the default if the field is set to an invalid enum value.

pub fn set_close_type(&mut self, value: ClosureType)[src]

Sets close_type to the provided enum value.

pub fn open_initiator(&self) -> Initiator[src]

Returns the enum value of open_initiator, or the default if the field is set to an invalid enum value.

pub fn set_open_initiator(&mut self, value: Initiator)[src]

Sets open_initiator to the provided enum value.

pub fn close_initiator(&self) -> Initiator[src]

Returns the enum value of close_initiator, or the default if the field is set to an invalid enum value.

pub fn set_close_initiator(&mut self, value: Initiator)[src]

Sets close_initiator to the provided enum value.

Trait Implementations

impl Clone for ChannelCloseSummary[src]

impl Debug for ChannelCloseSummary[src]

impl Default for ChannelCloseSummary[src]

impl Message for ChannelCloseSummary[src]

impl PartialEq<ChannelCloseSummary> for ChannelCloseSummary[src]

impl StructuralPartialEq for ChannelCloseSummary[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]