Struct billecta::InvoiceActionRecord
source · pub struct InvoiceActionRecord {Show 25 fields
pub product_public_id: Option<Uuid>,
pub sequence_no: i32,
pub units: Option<String>,
pub article_description: Option<String>,
pub article_number: Option<String>,
pub quantity: Option<f64>,
pub unit_price: Option<Amount>,
pub discount_amount: Option<Amount>,
pub discount_percentage: f64,
pub discount_type: DiscountType,
pub vat: f64,
pub cost_center: Option<String>,
pub period_start: Option<DateTime>,
pub period_end: Option<DateTime>,
pub project: Option<String>,
pub rot_rut_activated: bool,
pub rot_rut_amount: Option<Amount>,
pub rot_rut_material_cost_amount: Option<Amount>,
pub rot_rut_hours: i32,
pub rot_rut_type: RotRutType,
pub record_type: RecordType,
pub vat_is_included: bool,
pub hidden: bool,
pub external_reference: Option<String>,
pub dimensions: Vec<DimensionCode>,
}
Fields§
§product_public_id: Option<Uuid>
§sequence_no: i32
§units: Option<String>
§article_description: Option<String>
§article_number: Option<String>
§quantity: Option<f64>
§unit_price: Option<Amount>
§discount_amount: Option<Amount>
§discount_percentage: f64
§discount_type: DiscountType
§vat: f64
§cost_center: Option<String>
§period_start: Option<DateTime>
§period_end: Option<DateTime>
§project: Option<String>
§rot_rut_activated: bool
§rot_rut_amount: Option<Amount>
§rot_rut_material_cost_amount: Option<Amount>
§rot_rut_hours: i32
§rot_rut_type: RotRutType
§record_type: RecordType
§vat_is_included: bool
§external_reference: Option<String>
§dimensions: Vec<DimensionCode>
Trait Implementations§
source§impl Clone for InvoiceActionRecord
impl Clone for InvoiceActionRecord
source§fn clone(&self) -> InvoiceActionRecord
fn clone(&self) -> InvoiceActionRecord
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 InvoiceActionRecord
impl Debug for InvoiceActionRecord
source§impl<'de> Deserialize<'de> for InvoiceActionRecord
impl<'de> Deserialize<'de> for InvoiceActionRecord
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
Auto Trait Implementations§
impl Freeze for InvoiceActionRecord
impl RefUnwindSafe for InvoiceActionRecord
impl Send for InvoiceActionRecord
impl Sync for InvoiceActionRecord
impl Unpin for InvoiceActionRecord
impl UnwindSafe for InvoiceActionRecord
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)