Struct google_content2::api::UnitInvoice
source · pub struct UnitInvoice {
pub additional_charges: Option<Vec<UnitInvoiceAdditionalCharge>>,
pub promotions: Option<Vec<Promotion>>,
pub unit_price_pretax: Option<Price>,
pub unit_price_taxes: Option<Vec<UnitInvoiceTaxLine>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_charges: Option<Vec<UnitInvoiceAdditionalCharge>>
Additional charges for a unit, e.g. shipping costs.
promotions: Option<Vec<Promotion>>
Deprecated.
unit_price_pretax: Option<Price>
[required] Price of the unit, before applying taxes.
unit_price_taxes: Option<Vec<UnitInvoiceTaxLine>>
Tax amounts to apply to the unit price.
Trait Implementations§
source§impl Clone for UnitInvoice
impl Clone for UnitInvoice
source§fn clone(&self) -> UnitInvoice
fn clone(&self) -> UnitInvoice
Returns a copy 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 UnitInvoice
impl Debug for UnitInvoice
source§impl Default for UnitInvoice
impl Default for UnitInvoice
source§fn default() -> UnitInvoice
fn default() -> UnitInvoice
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnitInvoice
impl<'de> Deserialize<'de> for UnitInvoice
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 Serialize for UnitInvoice
impl Serialize for UnitInvoice
impl Part for UnitInvoice
Auto Trait Implementations§
impl RefUnwindSafe for UnitInvoice
impl Send for UnitInvoice
impl Sync for UnitInvoice
impl Unpin for UnitInvoice
impl UnwindSafe for UnitInvoice
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