pub struct ChannelTransaction {
pub channel_id: String,
pub funding_txid: LightningTxid,
pub funding_output_idx: u32,
pub funding_amount: u64,
pub status: ChannelTransactionStatus,
pub confirmation_height: Option<u32>,
pub closing_txid: Option<LightningTxid>,
pub created_at: u64,
pub updated_at: u64,
}Expand description
Channel transaction information
Fields§
§channel_id: StringChannel ID
funding_txid: LightningTxidFunding transaction ID
funding_output_idx: u32Funding output index
funding_amount: u64Funding amount in satoshis
status: ChannelTransactionStatusCurrent status
confirmation_height: Option<u32>Confirmation height (if confirmed)
closing_txid: Option<LightningTxid>Closing transaction ID (if closed)
created_at: u64Created timestamp
updated_at: u64Updated timestamp
Trait Implementations§
Source§impl Clone for ChannelTransaction
impl Clone for ChannelTransaction
Source§fn clone(&self) -> ChannelTransaction
fn clone(&self) -> ChannelTransaction
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 moreAuto Trait Implementations§
impl Freeze for ChannelTransaction
impl RefUnwindSafe for ChannelTransaction
impl Send for ChannelTransaction
impl Sync for ChannelTransaction
impl Unpin for ChannelTransaction
impl UnwindSafe for ChannelTransaction
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more