pub struct InterruptRecord {
pub id: String,
pub node: String,
pub payload: Value,
pub timestamp: DateTime<Utc>,
pub resumed_at: Option<DateTime<Utc>>,
pub resume_value: Option<Value>,
}Expand description
Record of an interrupt event for audit trail purposes
Tracks the complete lifecycle of an interrupt from creation to resumption.
Fields§
§id: StringUnique identifier for this interrupt
node: StringNode name where the interrupt occurred
payload: ValuePayload associated with the interrupt
timestamp: DateTime<Utc>Timestamp when the interrupt was created
resumed_at: Option<DateTime<Utc>>Timestamp when the interrupt was resumed (None if still pending)
resume_value: Option<Value>Value provided when resuming (None if still pending)
Trait Implementations§
Source§impl Clone for InterruptRecord
impl Clone for InterruptRecord
Source§fn clone(&self) -> InterruptRecord
fn clone(&self) -> InterruptRecord
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 InterruptRecord
impl Debug for InterruptRecord
Source§impl<'de> Deserialize<'de> for InterruptRecord
impl<'de> Deserialize<'de> for InterruptRecord
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 InterruptRecord
impl RefUnwindSafe for InterruptRecord
impl Send for InterruptRecord
impl Sync for InterruptRecord
impl Unpin for InterruptRecord
impl UnsafeUnpin for InterruptRecord
impl UnwindSafe for InterruptRecord
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