pub struct SetupChannel {Show 13 fields
pub is_outbound: bool,
pub channel_value: u64,
pub push_value: u64,
pub funding_txid: Txid,
pub funding_txout: u16,
pub to_self_delay: u16,
pub local_shutdown_script: Octets,
pub local_shutdown_wallet_index: Option<u32>,
pub remote_basepoints: Basepoints,
pub remote_funding_pubkey: PubKey,
pub remote_to_self_delay: u16,
pub remote_shutdown_script: Octets,
pub channel_type: Octets,
}
Expand description
Fields§
§is_outbound: bool
§channel_value: u64
§push_value: u64
§funding_txid: Txid
§funding_txout: u16
§to_self_delay: u16
§local_shutdown_script: Octets
§local_shutdown_wallet_index: Option<u32>
§remote_basepoints: Basepoints
§remote_funding_pubkey: PubKey
§remote_to_self_delay: u16
§remote_shutdown_script: Octets
§channel_type: Octets
Trait Implementations§
Source§impl BigEndianEncodable for SetupChannel
impl BigEndianEncodable for SetupChannel
Source§impl DeBolt for SetupChannel
impl DeBolt for SetupChannel
Source§impl Debug for SetupChannel
impl Debug for SetupChannel
Source§impl Decodable for SetupChannel
impl Decodable for SetupChannel
Source§impl Encodable for SetupChannel
impl Encodable for SetupChannel
Auto Trait Implementations§
impl Freeze for SetupChannel
impl RefUnwindSafe for SetupChannel
impl Send for SetupChannel
impl Sync for SetupChannel
impl Unpin for SetupChannel
impl UnwindSafe for SetupChannel
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> Downcast for T
impl<T> Downcast for T
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