pub struct InvoicePlan {
pub company_name: Option<String>,
pub company_address: Option<String>,
pub company_tax_id: Option<String>,
pub company_email: Option<String>,
}
Fields§
§company_name: Option<String>
This is the name of the company.
company_address: Option<String>
This is the address of the company.
company_tax_id: Option<String>
This is the tax ID of the company.
company_email: Option<String>
This is the preferred invoicing email of the company. If not specified, defaults to the subscription’s email.
Implementations§
Source§impl InvoicePlan
impl InvoicePlan
pub fn new() -> InvoicePlan
Trait Implementations§
Source§impl Clone for InvoicePlan
impl Clone for InvoicePlan
Source§fn clone(&self) -> InvoicePlan
fn clone(&self) -> InvoicePlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InvoicePlan
impl Debug for InvoicePlan
Source§impl Default for InvoicePlan
impl Default for InvoicePlan
Source§fn default() -> InvoicePlan
fn default() -> InvoicePlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoicePlan
impl<'de> Deserialize<'de> for InvoicePlan
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
Source§impl PartialEq for InvoicePlan
impl PartialEq for InvoicePlan
Source§impl Serialize for InvoicePlan
impl Serialize for InvoicePlan
impl StructuralPartialEq for InvoicePlan
Auto Trait Implementations§
impl Freeze for InvoicePlan
impl RefUnwindSafe for InvoicePlan
impl Send for InvoicePlan
impl Sync for InvoicePlan
impl Unpin for InvoicePlan
impl UnwindSafe for InvoicePlan
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