pub struct SessionRowWithStatus {
pub record: Model,
pub effective_status: String,
}Expand description
Wraps a stored session_records row plus the read-time effective
status (abandoned for stale running rows). Mirrors Python’s
SessionRowWithStatus dataclass at
cognee/modules/session_lifecycle/metrics.py:336-348.
Fields§
§record: Model§effective_status: StringImplementations§
Trait Implementations§
Source§impl Clone for SessionRowWithStatus
impl Clone for SessionRowWithStatus
Source§fn clone(&self) -> SessionRowWithStatus
fn clone(&self) -> SessionRowWithStatus
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 moreAuto Trait Implementations§
impl Freeze for SessionRowWithStatus
impl RefUnwindSafe for SessionRowWithStatus
impl Send for SessionRowWithStatus
impl Sync for SessionRowWithStatus
impl Unpin for SessionRowWithStatus
impl UnsafeUnpin for SessionRowWithStatus
impl UnwindSafe for SessionRowWithStatus
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