pub struct CreatePreviewInvoiceIssuer {
pub account: Option<String>,
pub type_: CreatePreviewInvoiceIssuerType,
}
Expand description
The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
Fields§
§account: Option<String>
The connected account being referenced when type
is account
.
type_: CreatePreviewInvoiceIssuerType
Type of the account referenced in the request.
Implementations§
Source§impl CreatePreviewInvoiceIssuer
impl CreatePreviewInvoiceIssuer
pub fn new(type_: impl Into<CreatePreviewInvoiceIssuerType>) -> Self
Trait Implementations§
Source§impl Clone for CreatePreviewInvoiceIssuer
impl Clone for CreatePreviewInvoiceIssuer
Source§fn clone(&self) -> CreatePreviewInvoiceIssuer
fn clone(&self) -> CreatePreviewInvoiceIssuer
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 CreatePreviewInvoiceIssuer
impl Debug for CreatePreviewInvoiceIssuer
Auto Trait Implementations§
impl Freeze for CreatePreviewInvoiceIssuer
impl RefUnwindSafe for CreatePreviewInvoiceIssuer
impl Send for CreatePreviewInvoiceIssuer
impl Sync for CreatePreviewInvoiceIssuer
impl Unpin for CreatePreviewInvoiceIssuer
impl UnwindSafe for CreatePreviewInvoiceIssuer
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