[][src]Struct clightningrpc::requests::SendPay

pub struct SendPay<'a> {
    pub route: Vec<RouteItem>,
    pub payment_hash: &'a str,
    pub description: Option<&'a str>,
    pub msatoshi: Option<u64>,
}

'sendpay' command

Fields

route: Vec<RouteItem>payment_hash: &'a strdescription: Option<&'a str>msatoshi: Option<u64>

Trait Implementations

impl<'a> Clone for SendPay<'a>[src]

impl<'a> Debug for SendPay<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for SendPay<'a>[src]

impl<'a> Serialize for SendPay<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SendPay<'a>

impl<'a> Send for SendPay<'a>

impl<'a> Sync for SendPay<'a>

impl<'a> Unpin for SendPay<'a>

impl<'a> UnwindSafe for SendPay<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.