pub struct WithdrawalResponse {
pub default_description: String,
pub callback: String,
pub k1: String,
pub max_withdrawable: u64,
pub min_withdrawable: Option<u64>,
pub tag: Tag,
}Fields§
§default_description: StringA default withdrawal invoice description
callback: Stringa second-level url which would accept a withdrawal lightning invoice as query parameter
k1: Stringan ephemeral secret which would allow user to withdraw funds
max_withdrawable: u64max 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 max_withdrawable
tag: Tagtag of the request
Trait Implementations§
Source§impl Clone for WithdrawalResponse
impl Clone for WithdrawalResponse
Source§fn clone(&self) -> WithdrawalResponse
fn clone(&self) -> WithdrawalResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WithdrawalResponse
impl Debug for WithdrawalResponse
Source§impl<'de> Deserialize<'de> for WithdrawalResponse
impl<'de> Deserialize<'de> for WithdrawalResponse
Source§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
Source§impl PartialEq for WithdrawalResponse
impl PartialEq for WithdrawalResponse
Source§impl Serialize for WithdrawalResponse
impl Serialize for WithdrawalResponse
impl StructuralPartialEq for WithdrawalResponse
Auto Trait Implementations§
impl Freeze for WithdrawalResponse
impl RefUnwindSafe for WithdrawalResponse
impl Send for WithdrawalResponse
impl Sync for WithdrawalResponse
impl Unpin for WithdrawalResponse
impl UnwindSafe for WithdrawalResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more