pub struct UserPrompt {
pub timestamp: String,
pub prompt: String,
}Expand description
A user prompt captured from the UserPromptSubmit hook.
Fields§
§timestamp: String§prompt: StringTrait Implementations§
Source§impl Clone for UserPrompt
impl Clone for UserPrompt
Source§fn clone(&self) -> UserPrompt
fn clone(&self) -> UserPrompt
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 UserPrompt
impl Debug for UserPrompt
Source§impl<'de> Deserialize<'de> for UserPrompt
impl<'de> Deserialize<'de> for UserPrompt
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 UserPrompt
impl RefUnwindSafe for UserPrompt
impl Send for UserPrompt
impl Sync for UserPrompt
impl Unpin for UserPrompt
impl UnsafeUnpin for UserPrompt
impl UnwindSafe for UserPrompt
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