#[non_exhaustive]pub struct BlockedPrompt {
pub text: String,
}Expand description
The cold recall seed on session/resume and session/read results: at most
one, the latest blocked Main prompt — exactly the host’s mirror of
prompt_recovery::replay::ReplayInput’s choice.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringThe exact submitted prompt, verbatim — no truncation, no normalization; recall fidelity requires exactness.
Trait Implementations§
Source§impl Clone for BlockedPrompt
impl Clone for BlockedPrompt
Source§impl Debug for BlockedPrompt
impl Debug for BlockedPrompt
Source§impl<'de> Deserialize<'de> for BlockedPrompt
impl<'de> Deserialize<'de> for BlockedPrompt
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 BlockedPrompt
Source§impl PartialEq for BlockedPrompt
impl PartialEq for BlockedPrompt
Source§impl Serialize for BlockedPrompt
impl Serialize for BlockedPrompt
impl StructuralPartialEq for BlockedPrompt
Auto Trait Implementations§
impl Forget for BlockedPrompt
impl Freeze for BlockedPrompt
impl Move for BlockedPrompt
impl RefUnwindSafe for BlockedPrompt
impl Send for BlockedPrompt
impl Sync for BlockedPrompt
impl Unpin for BlockedPrompt
impl UnsafeUnpin for BlockedPrompt
impl UnwindSafe for BlockedPrompt
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