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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Withdrawal
impl Send for Withdrawal
impl Sync for Withdrawal
impl Unpin for Withdrawal
impl UnwindSafe for Withdrawal