[][src]Trait asciii::project::spec::HasEmployees

pub trait HasEmployees {
    fn wages_date(&self) -> Option<Date<Utc>>;
fn salary(&self) -> Option<Currency>;
fn tax(&self) -> Option<Tax>;
fn net_wages(&self) -> Option<Currency>;
fn gross_wages(&self) -> Option<Currency>;
fn total_time(&self) -> Option<f64>;
fn employees_string(&self) -> Option<String>;
fn employees(&self) -> Option<Vec<Employee>>;
fn employees_payed(&self) -> bool;
fn wages(&self) -> Option<Currency>; fn to_product(&self) -> Option<Product> { ... } }

Something that has employees

Required Methods

When were the wages payed

Salary

Tax

Sum of wages after tax

Sum of wages before tax

Full number of service hours

TODO test this against old format

Nicely formatted list of employees with their respective service hours

List of employees and their respective service hours

Check if the employees have been payed

Sum of wages for the project

Provided Methods

Returns a product from Service

Implementors

impl<'a> HasEmployees for Hours<'a>
[src]