Struct lnurl::Withdrawal[][src]

pub struct Withdrawal {
    pub default_description: String,
    pub callback: String,
    pub k1: String,
    pub max_withdrawable: u64,
    pub min_withdrawable: Option<u64>,
    pub tag: Tag,
}
Expand description

Withdrawal is a withdrawal resource.

Fields

default_description: String

A default withdrawal invoice description

callback: String

a second-level url which would accept a withdrawal lightning invoice as query parameter

k1: String

an ephemeral secret which would allow user to withdraw funds

max_withdrawable: u64

max withdrawable amount for a given user on a given service

min_withdrawable: Option<u64>

An optional field, defaults to 1 MilliSatoshi if not present, can not be less than 1 or more than maxWithdrawable

tag: Tag

tag of the request

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.