[][src]Struct cortex::models::NewHistoricalRun

pub struct NewHistoricalRun {
    pub service_id: i32,
    pub corpus_id: i32,
    pub description: String,
    pub owner: String,
}

A new task, to be inserted into CorTeX

Fields

service_id: i32

id of the service owning this task

corpus_id: i32

id of the corpus hosting this task

description: String

description of the purpose of this run

owner: String

owner who initiated the run

Trait Implementations

impl Clone for NewHistoricalRun[src]

impl CortexInsertable for NewHistoricalRun[src]

impl Debug for NewHistoricalRun[src]

impl<'insert> Insertable<table> for NewHistoricalRun[src]

type Values = <(Option<Eq<service_id, i32>>, Option<Eq<corpus_id, i32>>, Option<Eq<description, String>>, Option<Eq<owner, String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert NewHistoricalRun[src]

type Values = <(Option<Eq<service_id, &'insert i32>>, Option<Eq<corpus_id, &'insert i32>>, Option<Eq<description, &'insert String>>, Option<Eq<owner, &'insert String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> UndecoratedInsertRecord<table> for NewHistoricalRun[src]

Auto Trait Implementations

impl RefUnwindSafe for NewHistoricalRun

impl Send for NewHistoricalRun

impl Sync for NewHistoricalRun

impl Unpin for NewHistoricalRun

impl UnwindSafe for NewHistoricalRun

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoCollection<T> for T

impl<T> IntoSql for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,