pub struct ChannelConstraints {
pub max_tlc_value_in_flight: u128,
pub max_tlc_number_in_flight: u64,
}Expand description
Channel constraints for TLC value and number limits.
Fields§
§max_tlc_value_in_flight: u128The maximum value that can be in pending TLCs.
max_tlc_number_in_flight: u64The maximum number of TLCs that can be accepted.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelConstraints
impl Clone for ChannelConstraints
Source§fn clone(&self) -> ChannelConstraints
fn clone(&self) -> ChannelConstraints
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 ChannelConstraints
impl Debug for ChannelConstraints
Source§impl Default for ChannelConstraints
impl Default for ChannelConstraints
Source§fn default() -> ChannelConstraints
fn default() -> ChannelConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelConstraints
impl<'de> Deserialize<'de> for ChannelConstraints
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 ChannelConstraints
impl PartialEq for ChannelConstraints
Source§impl Serialize for ChannelConstraints
impl Serialize for ChannelConstraints
impl Eq for ChannelConstraints
impl StructuralPartialEq for ChannelConstraints
Auto Trait Implementations§
impl Freeze for ChannelConstraints
impl RefUnwindSafe for ChannelConstraints
impl Send for ChannelConstraints
impl Sync for ChannelConstraints
impl Unpin for ChannelConstraints
impl UnsafeUnpin for ChannelConstraints
impl UnwindSafe for ChannelConstraints
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