pub struct PaymentLinksResourceInvoiceCreation {
pub enabled: bool,
pub invoice_data: Option<PaymentLinksResourceInvoiceSettings>,
}
Fields§
§enabled: bool
Enable creating an invoice on successful payment.
invoice_data: Option<PaymentLinksResourceInvoiceSettings>
Configuration for the invoice.
Default invoice values will be used if unspecified.
Trait Implementations§
source§impl Clone for PaymentLinksResourceInvoiceCreation
impl Clone for PaymentLinksResourceInvoiceCreation
source§fn clone(&self) -> PaymentLinksResourceInvoiceCreation
fn clone(&self) -> PaymentLinksResourceInvoiceCreation
Returns a copy 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 PaymentLinksResourceInvoiceCreation
impl Default for PaymentLinksResourceInvoiceCreation
source§fn default() -> PaymentLinksResourceInvoiceCreation
fn default() -> PaymentLinksResourceInvoiceCreation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentLinksResourceInvoiceCreation
impl<'de> Deserialize<'de> for PaymentLinksResourceInvoiceCreation
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
Auto Trait Implementations§
impl RefUnwindSafe for PaymentLinksResourceInvoiceCreation
impl Send for PaymentLinksResourceInvoiceCreation
impl Sync for PaymentLinksResourceInvoiceCreation
impl Unpin for PaymentLinksResourceInvoiceCreation
impl UnwindSafe for PaymentLinksResourceInvoiceCreation
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