Struct rebuilderd::models::Queued [−][src]
pub struct Queued { pub id: i32, pub package_id: i32, pub version: String, pub priority: i32, pub queued_at: NaiveDateTime, pub worker_id: Option<i32>, pub started_at: Option<NaiveDateTime>, pub last_ping: Option<NaiveDateTime>, }
Fields
id: i32
package_id: i32
version: String
priority: i32
queued_at: NaiveDateTime
worker_id: Option<i32>
started_at: Option<NaiveDateTime>
last_ping: Option<NaiveDateTime>
Implementations
Trait Implementations
type Changeset = <(Eq<package_id, &'update i32>, Eq<version, &'update String>, Eq<priority, &'update i32>, Eq<queued_at, &'update NaiveDateTime>, Option<Eq<worker_id, &'update i32>>, Option<Eq<started_at, &'update NaiveDateTime>>, Option<Eq<last_ping, &'update NaiveDateTime>>) as AsChangeset>::Changeset
type Changeset = <(Eq<package_id, &'update i32>, Eq<version, &'update String>, Eq<priority, &'update i32>, Eq<queued_at, &'update NaiveDateTime>, Option<Eq<worker_id, &'update i32>>, Option<Eq<started_at, &'update NaiveDateTime>>, Option<Eq<last_ping, &'update NaiveDateTime>>) as AsChangeset>::Changeset
The update statement this type represents
Convert self
into the actual update statement being executed
type Changeset = <(Eq<package_id, i32>, Eq<version, String>, Eq<priority, i32>, Eq<queued_at, NaiveDateTime>, Option<Eq<worker_id, i32>>, Option<Eq<started_at, NaiveDateTime>>, Option<Eq<last_ping, NaiveDateTime>>) as AsChangeset>::Changeset
type Changeset = <(Eq<package_id, i32>, Eq<version, String>, Eq<priority, i32>, Eq<queued_at, NaiveDateTime>, Option<Eq<worker_id, i32>>, Option<Eq<started_at, NaiveDateTime>>, Option<Eq<last_ping, NaiveDateTime>>) as AsChangeset>::Changeset
The update statement this type represents
Convert self
into the actual update statement being executed
Auto Trait Implementations
impl RefUnwindSafe for Queued
impl UnwindSafe for Queued
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V