pub struct LineageEntry {
pub id: ProcId,
pub ppid: Option<u32>,
pub group_id: String,
pub group_kind: GroupKind,
pub group_label: String,
pub group_fingerprint: String,
pub session_id: Option<String>,
pub spawned_by_agent: bool,
pub first_seen_ms: u64,
pub last_seen_ms: u64,
pub last_active_ms: u64,
}Expand description
Lineage journal entry (SPEC §6.2), stored by oomtop-state.
Fields§
§id: ProcId§ppid: Option<u32>§group_id: String§group_kind: GroupKind§group_label: String§group_fingerprint: String§session_id: Option<String>Hashed session id.
spawned_by_agent: booltrue if spawned (directly or transitively) by an agent session or tool.
first_seen_ms: u64§last_seen_ms: u64§last_active_ms: u64Trait Implementations§
Source§impl Clone for LineageEntry
impl Clone for LineageEntry
Source§impl Debug for LineageEntry
impl Debug for LineageEntry
Source§impl Default for LineageEntry
impl Default for LineageEntry
Source§impl<'de> Deserialize<'de> for LineageEntrywhere
LineageEntry: Default,
impl<'de> Deserialize<'de> for LineageEntrywhere
LineageEntry: Default,
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 LineageEntry
impl PartialEq for LineageEntry
Source§impl Serialize for LineageEntry
impl Serialize for LineageEntry
impl StructuralPartialEq for LineageEntry
Auto Trait Implementations§
impl Forget for LineageEntry
impl Freeze for LineageEntry
impl Move for LineageEntry
impl RefUnwindSafe for LineageEntry
impl Send for LineageEntrywhere
RawVecInner: Send,
impl Sync for LineageEntrywhere
RawVecInner: Sync,
impl Unpin for LineageEntry
impl UnsafeUnpin for LineageEntry
impl UnwindSafe for LineageEntrywhere
RawVecInner: UnwindSafe,
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