pub struct LastPromptEvent {
pub session_id: String,
pub last_prompt: String,
pub leaf_uuid: Option<String>,
}Expand description
last-prompt event — the latest verbatim human prompt seen so far.
Fields§
§session_id: StringSession ID
last_prompt: StringPrompt text, verbatim
leaf_uuid: Option<String>UUID of the conversation leaf this prompt was taken from
Trait Implementations§
Source§impl Clone for LastPromptEvent
impl Clone for LastPromptEvent
Source§impl Debug for LastPromptEvent
impl Debug for LastPromptEvent
Source§impl<'de> Deserialize<'de> for LastPromptEvent
impl<'de> Deserialize<'de> for LastPromptEvent
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
Auto Trait Implementations§
impl Freeze for LastPromptEvent
impl RefUnwindSafe for LastPromptEvent
impl Send for LastPromptEvent
impl Sync for LastPromptEvent
impl Unpin for LastPromptEvent
impl UnsafeUnpin for LastPromptEvent
impl UnwindSafe for LastPromptEvent
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