pub struct WikiRow {Show 14 fields
pub id: String,
pub tool: String,
pub project: String,
pub title: String,
pub started: Option<String>,
pub msgs: i64,
pub preview: Option<String>,
pub archived: bool,
pub native_id: Option<String>,
pub snippet: Option<String>,
pub hel_session_id: Option<String>,
pub target: Option<String>,
pub profile: Option<String>,
pub harness: Option<String>,
}Expand description
One session in the user’s SessionWiki index, as a control surface shows it.
It is the daemon’s own shape rather than SessionWiki’s row: it carries the search snippet that found the row and, for a Mjolnir session this daemon still holds, the id that resumes it instead of restoring it.
Fields§
§id: String§tool: String§project: String§title: String§started: Option<String>§msgs: i64§preview: Option<String>§archived: boolThe tool deleted its own copy and SessionWiki kept the transcript.
native_id: Option<String>The session id the tool that ran it knows it by, when its stored path carries one. It is what matches a row against an import scan.
snippet: Option<String>The matching text, when this row came from a search.
hel_session_id: Option<String>The live Mjolnir session this row describes, when this daemon has it.
target: Option<String>The Mjolnir target template the session ran under, when the index
carries it. Only Mjolnir’s own rows have one: the daemon writes it into
the index as an mj-target: tag while the session is still known, so an
archived row can still say where it ran.
profile: Option<String>The Mjolnir harness profile the session last ran under, from the index’s
mj-profile: tag. Only Mjolnir’s own rows have one.
harness: Option<String>The harness kind the session ran (codex, claude, kimi, grok,
muse), from the index’s mj-harness: tag. It stays meaningful after
the profile id has been removed from the configuration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WikiRow
impl<'de> Deserialize<'de> for WikiRow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WikiRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WikiRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for WikiRow
Source§impl Serialize for WikiRow
impl Serialize for WikiRow
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 WikiRow
Auto Trait Implementations§
impl Freeze for WikiRow
impl RefUnwindSafe for WikiRow
impl Send for WikiRow
impl Sync for WikiRow
impl Unpin for WikiRow
impl UnsafeUnpin for WikiRow
impl UnwindSafe for WikiRow
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more