pub struct ClientChannelInfo {
pub channel_id: String,
pub capacity: u64,
pub funding_token_amount: u64,
pub mint_url: String,
pub current_balance: u64,
pub payment_count: u64,
pub state: ClientChannelState,
}Expand description
Information about a stored channel.
Fields§
§channel_id: StringStable identifier for the stored channel.
capacity: u64Maximum final value the receiver can claim from the channel.
funding_token_amount: u64Nominal funding token amount backing the channel.
mint_url: StringMint URL associated with the channel.
current_balance: u64Current balance (last signed amount).
payment_count: u64Number of payments made through this channel.
state: ClientChannelStateChannel state (Open/Closed).
Trait Implementations§
Source§impl Clone for ClientChannelInfo
impl Clone for ClientChannelInfo
Source§fn clone(&self) -> ClientChannelInfo
fn clone(&self) -> ClientChannelInfo
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 ClientChannelInfo
impl Debug for ClientChannelInfo
Source§impl<'de> Deserialize<'de> for ClientChannelInfo
impl<'de> Deserialize<'de> for ClientChannelInfo
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 ClientChannelInfo
impl RefUnwindSafe for ClientChannelInfo
impl Send for ClientChannelInfo
impl Sync for ClientChannelInfo
impl Unpin for ClientChannelInfo
impl UnsafeUnpin for ClientChannelInfo
impl UnwindSafe for ClientChannelInfo
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