pub struct RecentPrompt {
pub content: String,
pub session_id: String,
}Expand description
One genuine user-typed prompt from a workspace session archive.
Mirrors the CLI history picker’s archived entries: harness-generated follow-ups and enrichment wrappers are stripped server-side, so the client can merge these with the live thread without re-cleaning.
Fields§
§content: StringCleaned user-typed prompt text.
session_id: StringDurable session identifier that owns the prompt.
Trait Implementations§
Source§impl Clone for RecentPrompt
impl Clone for RecentPrompt
Source§impl Debug for RecentPrompt
impl Debug for RecentPrompt
Source§impl<'de> Deserialize<'de> for RecentPrompt
impl<'de> Deserialize<'de> for RecentPrompt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RecentPrompt
Source§impl PartialEq for RecentPrompt
impl PartialEq for RecentPrompt
Source§impl Serialize for RecentPrompt
impl Serialize for RecentPrompt
impl StructuralPartialEq for RecentPrompt
Auto Trait Implementations§
impl Forget for RecentPrompt
impl Freeze for RecentPrompt
impl RefUnwindSafe for RecentPrompt
impl Send for RecentPrompt
impl Sync for RecentPrompt
impl Unpin for RecentPrompt
impl UnsafeUnpin for RecentPrompt
impl UnwindSafe for RecentPrompt
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.