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: i32package_id: i32version: Stringpriority: i32queued_at: NaiveDateTimeworker_id: Option<i32>started_at: Option<NaiveDateTime>last_ping: Option<NaiveDateTime>

Implementations

Trait Implementations

The table which Self::Changeset will be updating

The update statement this type represents

Convert self into the actual update statement being executed

The table which Self::Changeset will be updating

The update statement this type represents

Convert self into the actual update statement being executed

Formats the value using the given formatter. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Construct an instance of this type

Serialize this value into the given Serde serializer. Read more

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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

Should always be Self

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.