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: i32
§created_at: NaiveDateTime
§updated_at: NaiveDateTime
§estimated_completion: NaiveDateTime
§quantity: i32
§cost: Option<f32>
§complete: i32
§notes: Option<String>
§part_ver: i32
§part_id: i32
Trait Implementations§
Source§impl<'ident> Identifiable for &'ident Build
impl<'ident> Identifiable for &'ident Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more