[][src]Struct cortex::models::LogError

pub struct LogError {
    pub id: i64,
    pub task_id: i64,
    pub category: String,
    pub what: String,
    pub details: String,
}

An error message, as per the LaTeXML convention

Fields

id: i64

task primary key, auto-incremented by postgresql

task_id: i64

owner task's id

category: String

mid-level description (open set)

what: String

low-level description (open set)

details: String

technical details of the message (e.g. localization info)

Trait Implementations

impl<'update> AsChangeset for &'update LogError[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<task_id, &'update i64>, Eq<category, &'update String>, Eq<what, &'update String>, Eq<details, &'update String>) as AsChangeset>::Changeset

The update statement this type represents

impl<'update> AsChangeset for LogError[src]

type Target = table

The table which Self::Changeset will be updating

type Changeset = <(Eq<task_id, i64>, Eq<category, String>, Eq<what, String>, Eq<details, String>) as AsChangeset>::Changeset

The update statement this type represents

impl<__FK> BelongsTo<Task> for LogError where
    __FK: Hash + Eq,
    &'__a i64: Into<Option<&'__a __FK>>,
    &'__a Task: Identifiable<Id = &'__a __FK>, 
[src]

type ForeignKey = __FK

The foreign key of this struct

type ForeignKeyColumn = task_id

The database column representing the foreign key of the table this struct represents Read more

impl Clone for LogError[src]

impl Debug for LogError[src]

impl HasTable for LogError[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident LogError[src]

type Id = &'ident i64

The type of this struct's identifier. Read more

impl LogRecord for LogError[src]

impl MarkRerun for LogError[src]

Error level reruns

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for LogError where
    (i64, i64, String, String, String): Queryable<__ST, __DB>, 
[src]

type Row = <(i64, i64, String, String, String) as Queryable<__ST, __DB>>::Row

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

Auto Trait Implementations

impl RefUnwindSafe for LogError

impl Send for LogError

impl Sync for LogError

impl Unpin for LogError

impl UnwindSafe for LogError

Blanket Implementations

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

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

impl<'a, Parent, Child> BelongingToDsl<&'a [Parent]> for Child where
    Child: HasTable + BelongsTo<Parent>,
    &'a Parent: Identifiable,
    Vec<<&'a Parent as Identifiable>::Id>: AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>,
    <Child as HasTable>::Table: FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>,
    <Child as BelongsTo<Parent>>::ForeignKeyColumn: ExpressionMethods, 

type Output = <<Child as HasTable>::Table as FilterDsl<In<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <Vec<<&'a Parent as Identifiable>::Id> as AsInExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::InExpression>>>::Output

The query returned by belonging_to

impl<'a, Parent, Child> BelongingToDsl<&'a Parent> for Child where
    Child: HasTable + BelongsTo<Parent>,
    &'a Parent: Identifiable,
    <&'a Parent as Identifiable>::Id: AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>,
    <Child as HasTable>::Table: FilterDsl<Eq<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <<&'a Parent as Identifiable>::Id as AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::Expression>>,
    <Child as BelongsTo<Parent>>::ForeignKeyColumn: ExpressionMethods, 

type Output = <<Child as HasTable>::Table as FilterDsl<Eq<<Child as BelongsTo<Parent>>::ForeignKeyColumn, <<&'a Parent as Identifiable>::Id as AsExpression<<<Child as BelongsTo<Parent>>::ForeignKeyColumn as Expression>::SqlType>>::Expression>>>::Output

The query returned by belonging_to

impl<'a, Parent, Child> BelongingToDsl<&'a Vec<Parent>> for Child where
    Child: BelongingToDsl<&'a [Parent]>, 

type Output = <Child as BelongingToDsl<&'a [Parent]>>::Output

The query returned by belonging_to

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>,