pub struct SessionCleanupCandidate {
pub id: Uuid,
pub workspace_root: String,
pub file_path: PathBuf,
pub size_bytes: u64,
pub timestamp: DateTime<Utc>,
pub reason: String,
}Expand description
A session selected by a cleanup policy.
Fields§
§id: UuidSession identifier.
workspace_root: StringWorkspace root associated with the session.
file_path: PathBufJSONL file path to remove if cleanup is applied.
size_bytes: u64File size in bytes at selection time.
timestamp: DateTime<Utc>Last modified timestamp used for retention decisions.
reason: StringHuman-readable reason this session was selected.
Trait Implementations§
Source§impl Clone for SessionCleanupCandidate
impl Clone for SessionCleanupCandidate
Source§fn clone(&self) -> SessionCleanupCandidate
fn clone(&self) -> SessionCleanupCandidate
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 SessionCleanupCandidate
impl Debug for SessionCleanupCandidate
impl Eq for SessionCleanupCandidate
Source§impl PartialEq for SessionCleanupCandidate
impl PartialEq for SessionCleanupCandidate
impl StructuralPartialEq for SessionCleanupCandidate
Auto Trait Implementations§
impl Freeze for SessionCleanupCandidate
impl RefUnwindSafe for SessionCleanupCandidate
impl Send for SessionCleanupCandidate
impl Sync for SessionCleanupCandidate
impl Unpin for SessionCleanupCandidate
impl UnsafeUnpin for SessionCleanupCandidate
impl UnwindSafe for SessionCleanupCandidate
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