pub enum InvoiceRenderingPdfPageSize {
A4,
Auto,
Letter,
}
Expand description
Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size will be switched to a4 or letter based on customer locale.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InvoiceRenderingPdfPageSize
impl Clone for InvoiceRenderingPdfPageSize
Source§fn clone(&self) -> InvoiceRenderingPdfPageSize
fn clone(&self) -> InvoiceRenderingPdfPageSize
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 InvoiceRenderingPdfPageSize
impl Debug for InvoiceRenderingPdfPageSize
Source§impl FromStr for InvoiceRenderingPdfPageSize
impl FromStr for InvoiceRenderingPdfPageSize
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<InvoiceRenderingPdfPageSize, <InvoiceRenderingPdfPageSize as FromStr>::Err>
fn from_str( s: &str, ) -> Result<InvoiceRenderingPdfPageSize, <InvoiceRenderingPdfPageSize as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreimpl Copy for InvoiceRenderingPdfPageSize
impl Eq for InvoiceRenderingPdfPageSize
impl StructuralPartialEq for InvoiceRenderingPdfPageSize
Auto Trait Implementations§
impl Freeze for InvoiceRenderingPdfPageSize
impl RefUnwindSafe for InvoiceRenderingPdfPageSize
impl Send for InvoiceRenderingPdfPageSize
impl Sync for InvoiceRenderingPdfPageSize
impl Unpin for InvoiceRenderingPdfPageSize
impl UnwindSafe for InvoiceRenderingPdfPageSize
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