pub struct PromptSnapshot {Show 17 fields
pub base_system_prompt: String,
pub enhancement_prompt: Option<String>,
pub workspace_context: Option<String>,
pub instruction_context: Option<String>,
pub env_context: Option<String>,
pub skill_context: Option<String>,
pub tool_guide_context: Option<String>,
pub dream_notebook: Option<String>,
pub session_memory_note: Option<String>,
pub project_memory_index: Option<String>,
pub relevant_durable_memories: Option<String>,
pub project_dream: Option<String>,
pub global_dream_fallback: Option<String>,
pub prompt_memory_observability: Option<PromptMemoryObservability>,
pub external_memory: Option<String>,
pub task_list: Option<String>,
pub effective_system_prompt: String,
}Expand description
Structured snapshot of the effective system prompt and its major sections.
Fields§
§base_system_prompt: String§enhancement_prompt: Option<String>§workspace_context: Option<String>§instruction_context: Option<String>§env_context: Option<String>§skill_context: Option<String>§tool_guide_context: Option<String>§dream_notebook: Option<String>§session_memory_note: Option<String>§project_memory_index: Option<String>§relevant_durable_memories: Option<String>§project_dream: Option<String>§global_dream_fallback: Option<String>§prompt_memory_observability: Option<PromptMemoryObservability>§external_memory: Option<String>§task_list: Option<String>§effective_system_prompt: StringTrait Implementations§
Source§impl Clone for PromptSnapshot
impl Clone for PromptSnapshot
Source§fn clone(&self) -> PromptSnapshot
fn clone(&self) -> PromptSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptSnapshot
impl Debug for PromptSnapshot
Source§impl<'de> Deserialize<'de> for PromptSnapshot
impl<'de> Deserialize<'de> for PromptSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PromptSnapshot
impl PartialEq for PromptSnapshot
Source§impl Serialize for PromptSnapshot
impl Serialize for PromptSnapshot
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 Eq for PromptSnapshot
impl StructuralPartialEq for PromptSnapshot
Auto Trait Implementations§
impl Freeze for PromptSnapshot
impl RefUnwindSafe for PromptSnapshot
impl Send for PromptSnapshot
impl Sync for PromptSnapshot
impl Unpin for PromptSnapshot
impl UnsafeUnpin for PromptSnapshot
impl UnwindSafe for PromptSnapshot
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,
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.