pub struct Event {
pub event_id: EventId,
pub event_type: EventType,
pub occurred_at: DateTime<Utc>,
pub actor: ActorRef,
pub location_id: LocationId,
pub subject: Subject,
pub policy_context: PolicyContext,
}Expand description
Workflow event that records what changed, who/what it concerns, and what evidence/risk came with it.
Fields§
§event_id: EventIdWorkflow event ID value preserved for staff review and audit evidence.
event_type: EventTypeWorkflow event type value preserved for staff review and audit evidence.
occurred_at: DateTime<Utc>Workflow occurred at value preserved for staff review and audit evidence.
actor: ActorRefWorkflow actor value preserved for staff review and audit evidence.
location_id: LocationIdWorkflow location ID value preserved for staff review and audit evidence.
subject: SubjectWorkflow subject value preserved for staff review and audit evidence.
policy_context: PolicyContextWorkflow policy context value preserved for staff review and audit evidence.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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 Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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