pub struct SessionDescriptor {
pub locator: SessionLocator,
pub cwd: Option<PathBuf>,
pub title: Option<String>,
pub preview_candidates: Vec<SessionPreviewCandidate>,
pub latest_message_candidates: Vec<SessionPreviewCandidate>,
pub updated_at_ms: Option<u64>,
pub message_count: Option<usize>,
pub model: Option<String>,
pub parent_session_id: Option<String>,
pub child_session_count: usize,
}Expand description
Lightweight metadata returned by catalog discovery.
Fields§
§locator: SessionLocatorDurable address accepted by HarnessCatalog::load and
HarnessCatalog::follow.
cwd: Option<PathBuf>Working directory recorded by the harness.
title: Option<String>Harness-provided title, when cheaply available.
preview_candidates: Vec<SessionPreviewCandidate>Oldest-first bounded conversation messages for a fallback topic when the harness does not publish a useful title. These are read only for the returned page and interpreted by the same presentation projection as an opened conversation.
latest_message_candidates: Vec<SessionPreviewCandidate>Newest-first bounded conversation messages for compact list previews. These are read only for the returned page, never for the entire catalog, and are interpreted by the same presentation projection as an opened conversation.
updated_at_ms: Option<u64>Last update time as Unix epoch milliseconds.
message_count: Option<usize>Harness message-record count, when available without loading the session.
model: Option<String>Model recorded in lightweight session metadata.
parent_session_id: Option<String>Direct parent session for a harness-native child rollout. Ordinary conversation lists exclude these children, while tree/fidelity callers can request them explicitly without losing the native relationship.
child_session_count: usizeNumber of proven harness-native descendants represented by this root. Child identities remain behind the trusted catalog boundary until a caller explicitly requests this session family.
Trait Implementations§
Source§impl Clone for SessionDescriptor
impl Clone for SessionDescriptor
Source§fn clone(&self) -> SessionDescriptor
fn clone(&self) -> SessionDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SessionDescriptor
impl Debug for SessionDescriptor
Source§impl<'de> Deserialize<'de> for SessionDescriptor
impl<'de> Deserialize<'de> for SessionDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for SessionDescriptor
Source§impl PartialEq for SessionDescriptor
impl PartialEq for SessionDescriptor
Source§impl Serialize for SessionDescriptor
impl Serialize for SessionDescriptor
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for SessionDescriptor
Auto Trait Implementations§
impl Freeze for SessionDescriptor
impl RefUnwindSafe for SessionDescriptor
impl Send for SessionDescriptor
impl Sync for SessionDescriptor
impl Unpin for SessionDescriptor
impl UnsafeUnpin for SessionDescriptor
impl UnwindSafe for SessionDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.