pub struct OnchainSettings {
pub confirmations: u32,
pub min_receive_amount_sat: u64,
pub min_send_amount_sat: u64,
}Expand description
Onchain settings
Fields§
§confirmations: u32Number of confirmations required
min_receive_amount_sat: u64Minimum incoming onchain payment amount accepted by the backend
min_send_amount_sat: u64Minimum outgoing onchain payment amount accepted by the backend
Trait Implementations§
Source§impl Clone for OnchainSettings
impl Clone for OnchainSettings
Source§fn clone(&self) -> OnchainSettings
fn clone(&self) -> OnchainSettings
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 OnchainSettings
impl Debug for OnchainSettings
Source§impl Default for OnchainSettings
impl Default for OnchainSettings
Source§fn default() -> OnchainSettings
fn default() -> OnchainSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnchainSettings
impl<'de> Deserialize<'de> for OnchainSettings
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
impl Eq for OnchainSettings
Source§impl Hash for OnchainSettings
impl Hash for OnchainSettings
Source§impl PartialEq for OnchainSettings
impl PartialEq for OnchainSettings
Source§fn eq(&self, other: &OnchainSettings) -> bool
fn eq(&self, other: &OnchainSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OnchainSettings
impl Serialize for OnchainSettings
impl StructuralPartialEq for OnchainSettings
Auto Trait Implementations§
impl Freeze for OnchainSettings
impl RefUnwindSafe for OnchainSettings
impl Send for OnchainSettings
impl Sync for OnchainSettings
impl Unpin for OnchainSettings
impl UnsafeUnpin for OnchainSettings
impl UnwindSafe for OnchainSettings
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