Struct plm_rs::models::Build[][src]

pub struct Build {
    pub id: i32,
    pub created_at: NaiveDateTime,
    pub updated_at: NaiveDateTime,
    pub estimated_completion: NaiveDateTime,
    pub quantity: i32,
    pub cost: Option<f32>,
    pub complete: i32,
    pub notes: Option<String>,
    pub part_ver: i32,
    pub part_id: i32,
}

Fields

id: i32created_at: NaiveDateTimeupdated_at: NaiveDateTimeestimated_completion: NaiveDateTimequantity: i32cost: Option<f32>complete: i32notes: Option<String>part_ver: i32part_id: i32

Trait Implementations

The table this type is associated with.

Returns the table this type is associated with.

The type of this struct’s identifier. Read more

Returns the identifier for this record. Read more

The Rust type you’d like to map from. Read more

Construct an instance of this type

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Convert self to an expression for Diesel’s query builder. Read more

Convert &self to an expression for Diesel’s query builder. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.