pub struct RunRecord {Show 14 fields
pub id: String,
pub job: String,
pub layout_version: Option<u32>,
pub scheduled_for: Timestamp,
pub started_at: Timestamp,
pub finished_at: Timestamp,
pub manual: bool,
pub status: RunStatus,
pub attempts: u32,
pub rows: Option<usize>,
pub delivered: Vec<Delivered>,
pub errors: Vec<String>,
pub report_warnings: Vec<String>,
pub documents: Vec<String>,
}Expand description
One run of a job, as the history keeps it.
Fields§
§id: StringIdentifies the run within its job; later runs sort after earlier ones.
job: StringThe job.
layout_version: Option<u32>The layout version rendered.
scheduled_for: TimestampWhen the run was due.
started_at: TimestampWhen it started.
finished_at: TimestampWhen it ended.
manual: boolWhether it was started by hand.
status: RunStatusThe outcome.
attempts: u32How many times it was attempted.
rows: Option<usize>How many rows the report printed.
delivered: Vec<Delivered>What was delivered.
errors: Vec<String>Why deliveries or the render failed, in the last attempt.
report_warnings: Vec<String>Problems in the report itself (expression errors, missing fields). The document is still produced.
documents: Vec<String>The files kept on the server.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunRecord
impl StructuralPartialEq for RunRecord
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.