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 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 FromValueOpt for PaymentLinksResourceInvoiceCreation
impl FromValueOpt for PaymentLinksResourceInvoiceCreation
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentLinksResourceInvoiceCreation
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