pub struct PullPaymentsCreatePullPaymentRequest {
pub name: Option<String>,
pub description: Option<String>,
pub amount: Option<String>,
pub currency: Option<String>,
pub period: Option<i32>,
pub bolt11_expiration: Option<String>,
pub auto_approve_claims: Option<bool>,
pub starts_at: Option<i32>,
pub expires_at: Option<i32>,
pub payment_methods: Option<Vec<String>>,
}Fields§
§name: Option<String>The name of the pull payment
description: Option<String>The description of the pull payment
amount: Option<String>The amount in currency of this pull payment as a decimal string
currency: Option<String>The currency of the amount.
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
starts_at: Option<i32>When this pull payment is effective. Already started if null or unspecified.
expires_at: Option<i32>When this pull payment expires. Never expires if null or unspecified.
payment_methods: Option<Vec<String>>The list of supported payment methods supported by this pull payment. Available options can be queried from the StorePaymentMethods_GetStorePaymentMethods endpoint
Implementations§
Trait Implementations§
Source§impl Clone for PullPaymentsCreatePullPaymentRequest
impl Clone for PullPaymentsCreatePullPaymentRequest
Source§fn clone(&self) -> PullPaymentsCreatePullPaymentRequest
fn clone(&self) -> PullPaymentsCreatePullPaymentRequest
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 Default for PullPaymentsCreatePullPaymentRequest
impl Default for PullPaymentsCreatePullPaymentRequest
Source§fn default() -> PullPaymentsCreatePullPaymentRequest
fn default() -> PullPaymentsCreatePullPaymentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullPaymentsCreatePullPaymentRequest
impl<'de> Deserialize<'de> for PullPaymentsCreatePullPaymentRequest
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 PullPaymentsCreatePullPaymentRequest
impl PartialEq for PullPaymentsCreatePullPaymentRequest
Source§fn eq(&self, other: &PullPaymentsCreatePullPaymentRequest) -> bool
fn eq(&self, other: &PullPaymentsCreatePullPaymentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PullPaymentsCreatePullPaymentRequest
Auto Trait Implementations§
impl Freeze for PullPaymentsCreatePullPaymentRequest
impl RefUnwindSafe for PullPaymentsCreatePullPaymentRequest
impl Send for PullPaymentsCreatePullPaymentRequest
impl Sync for PullPaymentsCreatePullPaymentRequest
impl Unpin for PullPaymentsCreatePullPaymentRequest
impl UnwindSafe for PullPaymentsCreatePullPaymentRequest
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