pub struct EstimateLineItem {
pub quantity: Option<f64>,
pub taxed2: Option<bool>,
pub id: Option<i64>,
pub unit_price: Option<f64>,
pub kind: Option<String>,
pub description: Option<String>,
pub amount: Option<f64>,
pub taxed: Option<bool>,
}Fields§
§quantity: Option<f64>The unit quantity of the item.
taxed2: Option<bool>Whether the estimate’s tax2 percentage applies to this line item.
id: Option<i64>Unique ID for the line item.
unit_price: Option<f64>The individual price per unit.
kind: Option<String>The name of an estimate item category.
description: Option<String>Text description of the line item.
amount: Option<f64>The line item subtotal (quantity * unit_price).
taxed: Option<bool>Whether the estimate’s tax percentage applies to this line item.
Trait Implementations§
Source§impl Debug for EstimateLineItem
impl Debug for EstimateLineItem
Source§impl Default for EstimateLineItem
impl Default for EstimateLineItem
Source§fn default() -> EstimateLineItem
fn default() -> EstimateLineItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EstimateLineItem
impl<'de> Deserialize<'de> for EstimateLineItem
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 Display for EstimateLineItem
impl Display for EstimateLineItem
Auto Trait Implementations§
impl Freeze for EstimateLineItem
impl RefUnwindSafe for EstimateLineItem
impl Send for EstimateLineItem
impl Sync for EstimateLineItem
impl Unpin for EstimateLineItem
impl UnwindSafe for EstimateLineItem
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