pub struct IBtInfoOptions {
pub min_channel_size_sat: u64,
pub max_channel_size_sat: u64,
pub min_expiry_weeks: u32,
pub max_expiry_weeks: u32,
pub min_payment_confirmations: u32,
pub min_high_risk_payment_confirmations: u32,
pub max_0_conf_client_balance_sat: u64,
pub max_client_balance_sat: u64,
}
Fields§
§min_channel_size_sat: u64
Minimum channel size
max_channel_size_sat: u64
Maximum channel size
min_expiry_weeks: u32
Minimum channel lease time in weeks.
max_expiry_weeks: u32
Maximum channel lease time in weeks.
min_payment_confirmations: u32
Minimum payment confirmation for safe payments.
min_high_risk_payment_confirmations: u32
Minimum payment confirmations for high value payments.
max_0_conf_client_balance_sat: u64
Maximum clientBalanceSat that is accepted as 0conf/turbochannel.
max_client_balance_sat: u64
@deprecated Same as maxChannelSizeSat.
Trait Implementations§
Source§impl Clone for IBtInfoOptions
impl Clone for IBtInfoOptions
Source§fn clone(&self) -> IBtInfoOptions
fn clone(&self) -> IBtInfoOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IBtInfoOptions
impl Debug for IBtInfoOptions
Source§impl<'de> Deserialize<'de> for IBtInfoOptions
impl<'de> Deserialize<'de> for IBtInfoOptions
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 IBtInfoOptions
impl RefUnwindSafe for IBtInfoOptions
impl Send for IBtInfoOptions
impl Sync for IBtInfoOptions
impl Unpin for IBtInfoOptions
impl UnwindSafe for IBtInfoOptions
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