pub struct FailureRecord {
pub failure_id: String,
pub run_id: String,
pub class: FailureClass,
pub message: String,
pub phase: String,
pub retriable: bool,
pub retry_count: u32,
pub occurred_at: String,
}Expand description
A persisted failure record.
Fields§
§failure_id: String§run_id: String§class: FailureClass§message: String§phase: StringPhase during which the failure occurred.
retriable: boolWhether this failure is retriable.
retry_count: u32Number of retries attempted so far.
occurred_at: StringTrait Implementations§
Source§impl Clone for FailureRecord
impl Clone for FailureRecord
Source§fn clone(&self) -> FailureRecord
fn clone(&self) -> FailureRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FailureRecord
impl Debug for FailureRecord
Source§impl<'de> Deserialize<'de> for FailureRecord
impl<'de> Deserialize<'de> for FailureRecord
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
Auto Trait Implementations§
impl Freeze for FailureRecord
impl RefUnwindSafe for FailureRecord
impl Send for FailureRecord
impl Sync for FailureRecord
impl Unpin for FailureRecord
impl UnsafeUnpin for FailureRecord
impl UnwindSafe for FailureRecord
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