Struct plm_rs::tables::inventory::InventoryEntry [−][src]
pub struct InventoryEntry { pub id: i32, pub mpn: String, pub quantity: i32, pub consumed: i32, pub unit_price: Option<f32>, pub notes: Option<String>, pub part_ver: i32, pub part_id: i32, }
Fields
id: i32
mpn: String
quantity: i32
consumed: i32
unit_price: Option<f32>
notes: Option<String>
part_ver: i32
part_id: i32
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for InventoryEntry
impl Send for InventoryEntry
impl Sync for InventoryEntry
impl Unpin for InventoryEntry
impl UnwindSafe for InventoryEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more