[−][src]Struct clightningrpc::lightningrpc::PayOptions
Optional arguments for pay() request
Fields
msatoshi: Option<u64>
{msatoshi} (if and only if {bolt11} does not have amount)
description: Option<&'f str>
{description} (required if {bolt11} uses description hash)
riskfactor: Option<f64>
{riskfactor} (default 1.0)
maxfeepercent: Option<f64>
{maxfeepercent} (default 0.5) the maximum acceptable fee as a percentage (e.g. 0.5 => 0.5%)
exemptfee: Option<u64>
{exemptfee} (default 5000 msat) disables the maxfeepercent check for fees below the threshold
retry_for: Option<u64>
{retry_for} (default 60) the integer number of seconds before we stop retrying
maxdelay: Option<u64>
{maxdelay} (default 500) the maximum number of blocks we allow the funds to possibly get locked
Trait Implementations
impl<'f> Clone for PayOptions<'f>
[src]
fn clone(&self) -> PayOptions<'f>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'f> Debug for PayOptions<'f>
[src]
impl<'f> Default for PayOptions<'f>
[src]
fn default() -> PayOptions<'f>
[src]
Auto Trait Implementations
impl<'f> RefUnwindSafe for PayOptions<'f>
impl<'f> Send for PayOptions<'f>
impl<'f> Sync for PayOptions<'f>
impl<'f> Unpin for PayOptions<'f>
impl<'f> UnwindSafe for PayOptions<'f>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,