pub struct ProjectEvent {
pub sequence: u64,
pub project_id: String,
pub kind: String,
pub timestamp_unix_seconds: u64,
pub data: Value,
}Expand description
One durable event, exposed for audit and recovery inspection.
Fields§
§sequence: u64Monotonic event sequence within the instance ledger.
project_id: StringProject that owns the event.
kind: StringReducer event kind.
timestamp_unix_seconds: u64Event time in Unix seconds.
data: ValueEvent-specific evidence.
Trait Implementations§
Source§impl Clone for ProjectEvent
impl Clone for ProjectEvent
Source§impl Debug for ProjectEvent
impl Debug for ProjectEvent
Source§impl<'de> Deserialize<'de> for ProjectEvent
impl<'de> Deserialize<'de> for ProjectEvent
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 ProjectEvent
Source§impl PartialEq for ProjectEvent
impl PartialEq for ProjectEvent
Source§impl Serialize for ProjectEvent
impl Serialize for ProjectEvent
impl StructuralPartialEq for ProjectEvent
Auto Trait Implementations§
impl Freeze for ProjectEvent
impl RefUnwindSafe for ProjectEvent
impl Send for ProjectEvent
impl Sync for ProjectEvent
impl Unpin for ProjectEvent
impl UnsafeUnpin for ProjectEvent
impl UnwindSafe for ProjectEvent
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