[−][src]Struct cortex::models::NewWorkerMetadata
Metadata collection for workers, updated by the dispatcher upon zmq transactions
Fields
service_id: i32
associated service for this worker metadata set
last_dispatched_task_id: i64
time of last ventilator dispatch to the service
last_returned_task_id: Option<i64>
time of last sink job received from the service
total_dispatched: i32
dispatch totals
total_returned: i32
return totals
first_seen: SystemTime
first registered ventilator request for this worker, coincides with insertion in DB
session_seen: Option<SystemTime>
first time seen in the current dispatcher session
time_last_dispatch: SystemTime
time of last dispatched task
time_last_return: Option<SystemTime>
time of last returned job result
name: String
identity of this worker, usually hostname:pid
Trait Implementations
impl Debug for NewWorkerMetadata
[src]
impl<'insert> Insertable<table> for NewWorkerMetadata
[src]
type Values = <(Option<Eq<service_id, i32>>, Option<Eq<last_dispatched_task_id, i64>>, Option<Eq<last_returned_task_id, i64>>, Option<Eq<total_dispatched, i32>>, Option<Eq<total_returned, i32>>, Option<Eq<first_seen, SystemTime>>, Option<Eq<session_seen, SystemTime>>, Option<Eq<time_last_dispatch, SystemTime>>, Option<Eq<time_last_return, SystemTime>>, Option<Eq<name, String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for &'insert NewWorkerMetadata
[src]
type Values = <(Option<Eq<service_id, &'insert i32>>, Option<Eq<last_dispatched_task_id, &'insert i64>>, Option<Eq<last_returned_task_id, &'insert i64>>, Option<Eq<total_dispatched, &'insert i32>>, Option<Eq<total_returned, &'insert i32>>, Option<Eq<first_seen, &'insert SystemTime>>, Option<Eq<session_seen, &'insert SystemTime>>, Option<Eq<time_last_dispatch, &'insert SystemTime>>, Option<Eq<time_last_return, &'insert SystemTime>>, Option<Eq<name, &'insert String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> UndecoratedInsertRecord<table> for NewWorkerMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for NewWorkerMetadata
impl Send for NewWorkerMetadata
impl Sync for NewWorkerMetadata
impl Unpin for NewWorkerMetadata
impl UnwindSafe for NewWorkerMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,