#[non_exhaustive]pub enum InvoiceRenderingPdfPageSize {
A4,
Auto,
Letter,
Unknown(String),
}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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A4
Auto
Letter
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
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 FromValueOpt for InvoiceRenderingPdfPageSize
impl FromValueOpt for InvoiceRenderingPdfPageSize
fn from_value(v: Value) -> Option<Self>
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