pub struct WikiSessionInfo {
pub wiki_id: String,
pub tool: String,
pub path: PathBuf,
pub status: WikiSessionStatus,
pub mjolnir_session_id: Option<String>,
pub profile_id: Option<String>,
pub target_template_id: Option<String>,
pub harness: Option<HarnessKind>,
pub title: String,
pub project: String,
}Expand description
One row of the SessionWiki index, with what Mjolnir knows about it.
This is what mj resume --wiki branches on and what mj sessions --session reports when the id names no Mjolnir session.
Fields§
§wiki_id: StringThe SessionWiki id of the row.
tool: StringThe tool that produced the session, as SessionWiki names it.
path: PathBufThe transcript path the index stores for the row.
status: WikiSessionStatus§mjolnir_session_id: Option<String>The Mjolnir session id, for a row Mjolnir itself published.
profile_id: Option<String>The profile the session last ran under, from the index’s own tags.
target_template_id: Option<String>The target template the session ran on, from the index’s own tags.
harness: Option<HarnessKind>The harness that drove the session, from the tags for a Mjolnir row and from the tool name for a native one.
title: String§project: StringTrait Implementations§
Source§impl Clone for WikiSessionInfo
impl Clone for WikiSessionInfo
Source§fn clone(&self) -> WikiSessionInfo
fn clone(&self) -> WikiSessionInfo
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 WikiSessionInfo
impl Debug for WikiSessionInfo
Source§impl<'de> Deserialize<'de> for WikiSessionInfo
impl<'de> Deserialize<'de> for WikiSessionInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WikiSessionInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WikiSessionInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WikiSessionInfo
Source§impl PartialEq for WikiSessionInfo
impl PartialEq for WikiSessionInfo
Source§impl Serialize for WikiSessionInfo
impl Serialize for WikiSessionInfo
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 WikiSessionInfo
Auto Trait Implementations§
impl Freeze for WikiSessionInfo
impl RefUnwindSafe for WikiSessionInfo
impl Send for WikiSessionInfo
impl Sync for WikiSessionInfo
impl Unpin for WikiSessionInfo
impl UnsafeUnpin for WikiSessionInfo
impl UnwindSafe for WikiSessionInfo
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.