pub struct RunReport { /* private fields */ }Expand description
Complete transport-neutral report for one authorized run.
Implementations§
Source§impl RunReport
impl RunReport
Sourcepub fn new(input: RunReportInput) -> Result<Self, RunReportError>
pub fn new(input: RunReportInput) -> Result<Self, RunReportError>
Creates and validates a complete run report.
Sourcepub const fn stop_reason(&self) -> &RunStopReason
pub const fn stop_reason(&self) -> &RunStopReason
Returns the structured stop reason.
Returns the authorized origin.
Sourcepub const fn started_at(&self) -> DateTime<Utc>
pub const fn started_at(&self) -> DateTime<Utc>
Returns the UTC start instant.
Sourcepub const fn completed_at(&self) -> DateTime<Utc>
pub const fn completed_at(&self) -> DateTime<Utc>
Returns the UTC completion instant.
Sourcepub const fn accounting(&self) -> &RunAccounting
pub const fn accounting(&self) -> &RunAccounting
Returns resource accounting.
Sourcepub fn steps(&self) -> &[RunStepReport]
pub fn steps(&self) -> &[RunStepReport]
Returns attempted steps in execution order.
Sourcepub fn outcomes(&self) -> &[RunOutcomeRecord]
pub fn outcomes(&self) -> &[RunOutcomeRecord]
Returns outcome/observation projections.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunReport
impl<'de> Deserialize<'de> for RunReport
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 RunReport
impl StructuralPartialEq for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReport
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.