Enum asciii::project::ComputedField []

pub enum ComputedField {
    Responsible,
    OfferNumber,
    InvoiceNumber,
    InvoiceNumberLong,
    Name,
    Final,
    Age,
    OurBad,
    TheirBad,
    Year,
    Employees,
    ClientFullName,
    Wages,
    Deserializes,
    SortIndex,
    Date,
    Format,
    Dir,
    Invalid,
}

Project::field() allows accessing fields within the raw yaml data structure. Computed fields are fields that are not present in the document but computed.

ComputedFields is an automatically generated type that allows iterating of the variants of this Enum.

Variants

Usually storage, or in legacy part of signature

Consecutive Offer number

Pretty version of invoice/number: "R042"

Pretty version of invoice/number including year: "R2016-042"

Overall Cost Project, including taxes

Amount of money owed by the customer

Age of the Project in days

Time in weeks it took to write the invoice

Time in weeks it took the custumer to pay invoice

Year of the event

List of emplyees

Full Name of the customer

Sum of the wages payed to the employees

experimental indicates whether the project file adheres to the spec

Sorting index

Date of the main event

Version of the project file format

Directory the project is currently stored in

Invalid Option

Methods

impl ComputedField

impl ComputedField

impl ComputedField
[src]

[src]

Trait Implementations

impl Debug for ComputedField

Formats the value using the given formatter. Read more

impl FromStr for ComputedField

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl<'a> From<&'a str> for ComputedField
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ComputedField

impl Sync for ComputedField