[−][src]Struct cortex::models::LogError
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
fn as_changeset(self) -> Self::Changeset
[src]
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
fn as_changeset(self) -> Self::Changeset
[src]
impl<__FK> BelongsTo<Task> for LogError where
__FK: Hash + Eq,
&'__a i64: Into<Option<&'__a __FK>>,
&'__a Task: Identifiable<Id = &'__a __FK>,
[src]
__FK: Hash + Eq,
&'__a i64: Into<Option<&'__a __FK>>,
&'__a Task: Identifiable<Id = &'__a __FK>,
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
fn foreign_key(&self) -> Option<&Self::ForeignKey>
[src]
fn foreign_key_column() -> Self::ForeignKeyColumn
[src]
impl Clone for LogError
[src]
impl Debug for LogError
[src]
impl HasTable for LogError
[src]
impl<'ident> Identifiable for &'ident LogError
[src]
impl LogRecord for LogError
[src]
fn task_id(&self) -> i64
[src]
fn category(&self) -> &str
[src]
fn what(&self) -> &str
[src]
fn details(&self) -> &str
[src]
fn set_details(&mut self, new_details: String)
[src]
fn severity(&self) -> &str
[src]
fn debug(&self, f: &mut Formatter) -> Result
[src]
impl MarkRerun for LogError
[src]
Error level reruns
fn mark_rerun_by_what(
mark: i32,
corpus_id: i32,
service_id: i32,
rerun_category: &str,
rerun_what: &str,
connection: &PgConnection
) -> Result<usize, Error>
[src]
mark: i32,
corpus_id: i32,
service_id: i32,
rerun_category: &str,
rerun_what: &str,
connection: &PgConnection
) -> Result<usize, Error>
fn mark_rerun_by_category(
mark: i32,
corpus_id: i32,
service_id: i32,
rerun_category: &str,
connection: &PgConnection
) -> Result<usize, Error>
[src]
mark: i32,
corpus_id: i32,
service_id: i32,
rerun_category: &str,
connection: &PgConnection
) -> Result<usize, Error>
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for LogError where
(i64, i64, String, String, String): Queryable<__ST, __DB>,
[src]
(i64, i64, String, String, String): Queryable<__ST, __DB>,
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]
T: 'static + ?Sized,
impl<T, I> AsResult<T, I> for T where
I: Input,
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,
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
fn belonging_to(
parents: &'a [Parent]
) -> <Child as BelongingToDsl<&'a [Parent]>>::Output
parents: &'a [Parent]
) -> <Child as BelongingToDsl<&'a [Parent]>>::Output
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,
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
fn belonging_to(
parent: &'a Parent
) -> <Child as BelongingToDsl<&'a Parent>>::Output
parent: &'a Parent
) -> <Child as BelongingToDsl<&'a Parent>>::Output
impl<'a, Parent, Child> BelongingToDsl<&'a Vec<Parent>> for Child where
Child: BelongingToDsl<&'a [Parent]>,
Child: BelongingToDsl<&'a [Parent]>,
type Output = <Child as BelongingToDsl<&'a [Parent]>>::Output
The query returned by belonging_to
fn belonging_to(
parents: &'a Vec<Parent>
) -> <Child as BelongingToDsl<&'a Vec<Parent>>>::Output
parents: &'a Vec<Parent>
) -> <Child as BelongingToDsl<&'a Vec<Parent>>>::Output
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,