[][src]Struct lnrpc::InvoiceHtlc

pub struct InvoiceHtlc {
    pub chan_id: u64,
    pub htlc_index: u64,
    pub amt_msat: u64,
    pub accept_height: i32,
    pub accept_time: i64,
    pub resolve_time: i64,
    pub expiry_height: i32,
    pub state: i32,
    pub custom_records: HashMap<u64, Vec<u8>>,
    pub mpp_total_amt_msat: u64,
}

Fields

chan_id: u64htlc_index: u64amt_msat: u64accept_height: i32accept_time: i64resolve_time: i64expiry_height: i32state: i32custom_records: HashMap<u64, Vec<u8>>mpp_total_amt_msat: u64

Implementations

impl InvoiceHtlc[src]

pub fn state(&self) -> InvoiceHtlcState[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: InvoiceHtlcState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for InvoiceHtlc[src]

impl Debug for InvoiceHtlc[src]

impl Default for InvoiceHtlc[src]

impl Message for InvoiceHtlc[src]

impl PartialEq<InvoiceHtlc> for InvoiceHtlc[src]

impl StructuralPartialEq for InvoiceHtlc[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]