#[non_exhaustive]pub struct AuditEntry {
pub workflow_id: Arc<str>,
pub task_id: Arc<str>,
pub timestamp: DateTime<Utc>,
pub changes: Vec<Change>,
pub status: usize,
pub loop_counter: Option<i64>,
pub element_index: Option<usize>,
}Expand description
One task’s audit record, written as v3 wrote one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workflow_id: Arc<str>The workflow the task belongs to.
task_id: Arc<str>The task.
timestamp: DateTime<Utc>When the entry was recorded.
changes: Vec<Change>The writes the task made, when changes are captured.
status: usizeThe task’s status code.
loop_counter: Option<i64>The loop counter of the sweep that produced the entry.
element_index: Option<usize>The fan-out element the entry records.
Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§impl Debug for AuditEntry
impl Debug for AuditEntry
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
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
Source§impl PartialEq for AuditEntry
impl PartialEq for AuditEntry
Source§impl Serialize for AuditEntry
impl Serialize for AuditEntry
impl StructuralPartialEq for AuditEntry
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin for AuditEntry
impl UnwindSafe for AuditEntry
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