Struct plm_rs::models::Part[][src]

pub struct Part {
    pub id: i32,
    pub created_at: NaiveDateTime,
    pub updated_at: NaiveDateTime,
    pub pn: String,
    pub mpn: String,
    pub digikeypn: Option<String>,
    pub descr: String,
    pub ver: i32,
    pub val: Option<String>,
    pub mqty: i32,
}

Fields

id: i32created_at: NaiveDateTimeupdated_at: NaiveDateTimepn: Stringmpn: Stringdigikeypn: Option<String>descr: Stringver: i32val: Option<String>mqty: 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.