Struct cashweb_payments::bip70::PaymentAck[][src]

pub struct PaymentAck {
    pub payment: Payment,
    pub memo: Option<String>,
}

Fields

payment: Payment

Payment message that triggered this ACK

memo: Option<String>

human-readable message for customer

Implementations

impl PaymentAck[src]

pub fn memo(&self) -> &str[src]

Returns the value of memo, or the default value if memo is unset.

Trait Implementations

impl Clone for PaymentAck[src]

impl Debug for PaymentAck[src]

impl Default for PaymentAck[src]

impl Message for PaymentAck[src]

impl PartialEq<PaymentAck> for PaymentAck[src]

impl StructuralPartialEq for PaymentAck[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, 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.