pub struct WikiRow {
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>,
}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.
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>,
Deserialize this value from the given Serde deserializer. Read more
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,
Serialize this value into the given Serde serializer. Read more
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
Mutably borrows from an owned value. Read more
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
Compare self to
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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.