pub struct InvoiceRow {
pub project_name: Option<String>,
pub period: Option<String>,
pub nature: Option<String>,
pub amount: Option<f64>,
pub rate: Option<f64>,
pub hours_per_day: Option<f64>,
pub amount_type: Option<AmountType>,
pub rate_type: Option<RateType>,
pub total: Option<f64>,
}Fields§
§project_name: Option<String>§period: Option<String>§nature: Option<String>§amount: Option<f64>§rate: Option<f64>§hours_per_day: Option<f64>§amount_type: Option<AmountType>§rate_type: Option<RateType>§total: Option<f64>Implementations§
Source§impl InvoiceRow
impl InvoiceRow
pub fn new() -> InvoiceRow
Trait Implementations§
Source§impl Clone for InvoiceRow
impl Clone for InvoiceRow
Source§fn clone(&self) -> InvoiceRow
fn clone(&self) -> InvoiceRow
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 InvoiceRow
impl Debug for InvoiceRow
Source§impl Default for InvoiceRow
impl Default for InvoiceRow
Source§fn default() -> InvoiceRow
fn default() -> InvoiceRow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoiceRow
impl<'de> Deserialize<'de> for InvoiceRow
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 InvoiceRow
impl PartialEq for InvoiceRow
Source§impl Serialize for InvoiceRow
impl Serialize for InvoiceRow
impl StructuralPartialEq for InvoiceRow
Auto Trait Implementations§
impl Freeze for InvoiceRow
impl RefUnwindSafe for InvoiceRow
impl Send for InvoiceRow
impl Sync for InvoiceRow
impl Unpin for InvoiceRow
impl UnwindSafe for InvoiceRow
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