pub struct LightningChannel {
pub id: String,
pub short_id: String,
pub capacity: u64,
pub transaction_id: String,
pub transaction_vout: u32,
pub closing_transaction_id: Option<String>,
pub status: u8,
}Expand description
Lightning channel information.
Fields§
§id: StringChannel ID
short_id: StringShort channel ID
capacity: u64Channel capacity in satoshis
transaction_id: StringTransaction ID
transaction_vout: u32Transaction output index
closing_transaction_id: Option<String>Closing transaction ID (if closed)
status: u8Channel status
Implementations§
Trait Implementations§
Source§impl Clone for LightningChannel
impl Clone for LightningChannel
Source§fn clone(&self) -> LightningChannel
fn clone(&self) -> LightningChannel
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 LightningChannel
impl Debug for LightningChannel
Source§impl<'de> Deserialize<'de> for LightningChannel
impl<'de> Deserialize<'de> for LightningChannel
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
Source§impl PartialEq for LightningChannel
impl PartialEq for LightningChannel
Source§impl Serialize for LightningChannel
impl Serialize for LightningChannel
impl StructuralPartialEq for LightningChannel
Auto Trait Implementations§
impl Freeze for LightningChannel
impl RefUnwindSafe for LightningChannel
impl Send for LightningChannel
impl Sync for LightningChannel
impl Unpin for LightningChannel
impl UnwindSafe for LightningChannel
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