pub struct PullPaymentData {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub currency: Option<String>,
pub amount: Option<String>,
pub period: Option<i32>,
pub bolt11_expiration: Option<String>,
pub auto_approve_claims: Option<bool>,
pub archived: Option<bool>,
pub view_link: Option<String>,
}Fields§
§id: Option<String>Id of the pull payment
name: Option<String>Name given to pull payment when it was created
description: Option<String>Description given to pull payment when it was created
currency: Option<String>The currency of the pull payment’s amount
amount: Option<String>The amount in the currency of this pull payment as a decimal string
period: Option<i32>The length of each period in seconds
bolt11_expiration: Option<String>If lightning is activated, do not accept BOLT11 invoices with expiration less than … days
auto_approve_claims: Option<bool>Any payouts created for this pull payment will skip the approval phase upon creation
archived: Option<bool>Whether this pull payment is archived
view_link: Option<String>The link to a page to claim payouts to this pull payment
Implementations§
Source§impl PullPaymentData
impl PullPaymentData
pub fn new() -> PullPaymentData
Trait Implementations§
Source§impl Clone for PullPaymentData
impl Clone for PullPaymentData
Source§fn clone(&self) -> PullPaymentData
fn clone(&self) -> PullPaymentData
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 PullPaymentData
impl Debug for PullPaymentData
Source§impl Default for PullPaymentData
impl Default for PullPaymentData
Source§fn default() -> PullPaymentData
fn default() -> PullPaymentData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullPaymentData
impl<'de> Deserialize<'de> for PullPaymentData
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 PullPaymentData
impl PartialEq for PullPaymentData
Source§impl Serialize for PullPaymentData
impl Serialize for PullPaymentData
impl StructuralPartialEq for PullPaymentData
Auto Trait Implementations§
impl Freeze for PullPaymentData
impl RefUnwindSafe for PullPaymentData
impl Send for PullPaymentData
impl Sync for PullPaymentData
impl Unpin for PullPaymentData
impl UnwindSafe for PullPaymentData
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