pub enum UserTurnPromptKind {
NotPrompt,
Editable,
Unsupported,
}Expand description
Classification used when locating a user-authored turn in the session log.
Runtime and tool messages are skipped because their provider-compatible
role = "user" is not user authority. Unsupported user content is a real
turn boundary, however, so callers must not skip it and edit an older turn.
Variants§
NotPrompt
Assistant messages, tool results, and runtime-owned control messages.
Editable
A genuine user turn containing editable text.
Unsupported
A genuine user turn without editable text, such as an image-only turn.
Trait Implementations§
Source§impl Clone for UserTurnPromptKind
impl Clone for UserTurnPromptKind
impl Copy for UserTurnPromptKind
Source§impl Debug for UserTurnPromptKind
impl Debug for UserTurnPromptKind
impl Eq for UserTurnPromptKind
Source§impl PartialEq for UserTurnPromptKind
impl PartialEq for UserTurnPromptKind
impl StructuralPartialEq for UserTurnPromptKind
Auto Trait Implementations§
impl Forget for UserTurnPromptKind
impl Freeze for UserTurnPromptKind
impl Move for UserTurnPromptKind
impl RefUnwindSafe for UserTurnPromptKind
impl Send for UserTurnPromptKind
impl Sync for UserTurnPromptKind
impl Unpin for UserTurnPromptKind
impl UnsafeUnpin for UserTurnPromptKind
impl UnwindSafe for UserTurnPromptKind
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.