[][src]Struct lnrpc::PaymentHash

pub struct PaymentHash {
    pub r_hash_str: String,
    pub r_hash: Vec<u8>,
}

Fields

r_hash_str: String

The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. Deprecated now that the REST gateway supports base64 encoding of bytes fields.

r_hash: Vec<u8>

The payment hash of the invoice to be looked up. When using REST, this field must be encoded as base64.

Trait Implementations

impl Clone for PaymentHash[src]

impl Debug for PaymentHash[src]

impl Default for PaymentHash[src]

impl Message for PaymentHash[src]

impl PartialEq<PaymentHash> for PaymentHash[src]

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