pub struct ClientChannelFunding {
pub params_json: String,
pub funding_proofs_json: String,
pub channel_secret_hex: String,
pub keyset_info_json: String,
pub sender_pubkey_hex: String,
pub capacity: u64,
pub funding_token_amount: u64,
pub mint_url: String,
pub created_at: u64,
}Expand description
Immutable funding data (saved once when channel is opened)
This data is set at channel creation time and never changes.
Fields§
§params_json: StringSerialized channel parameters (JSON)
funding_proofs_json: StringSerialized funding proofs (JSON array)
channel_secret_hex: StringHex-encoded hashed ECDH channel secret (32 bytes)
keyset_info_json: StringSerialized keyset info (JSON)
sender_pubkey_hex: StringSender’s public key for this channel (hex)
capacity: u64Maximum value the receiver can claim
funding_token_amount: u64Nominal funding token amount
mint_url: StringMint URL associated with the channel
created_at: u64Unix timestamp when channel was created
Trait Implementations§
Source§impl Clone for ClientChannelFunding
impl Clone for ClientChannelFunding
Source§fn clone(&self) -> ClientChannelFunding
fn clone(&self) -> ClientChannelFunding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientChannelFunding
impl Debug for ClientChannelFunding
Source§impl<'de> Deserialize<'de> for ClientChannelFunding
impl<'de> Deserialize<'de> for ClientChannelFunding
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
Auto Trait Implementations§
impl Freeze for ClientChannelFunding
impl RefUnwindSafe for ClientChannelFunding
impl Send for ClientChannelFunding
impl Sync for ClientChannelFunding
impl Unpin for ClientChannelFunding
impl UnsafeUnpin for ClientChannelFunding
impl UnwindSafe for ClientChannelFunding
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