[][src]Struct lnrpc::AddInvoiceResponse

pub struct AddInvoiceResponse {
    pub r_hash: Vec<u8>,
    pub payment_request: String,
    pub add_index: u64,
}

Fields

r_hash: Vec<u8>payment_request: String

A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.

add_index: u64

The "add" index of this invoice. Each newly created invoice will increment this index making it monotonically increasing. Callers to the SubscribeInvoices call can use this to instantly get notified of all added invoices with an add_index greater than this one.

Trait Implementations

impl Clone for AddInvoiceResponse[src]

impl Debug for AddInvoiceResponse[src]

impl Default for AddInvoiceResponse[src]

impl Message for AddInvoiceResponse[src]

impl PartialEq<AddInvoiceResponse> for AddInvoiceResponse[src]

impl StructuralPartialEq for AddInvoiceResponse[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]