pub struct OriginInfo {
pub kind: String,
}Expand description
Origin of a user turn.
Real kind values seen on disk: "human" (a genuine human-typed
prompt), "task-notification" (a delegated agent’s completion notice
routed back as a user turn), and "peer" (a message from another
Claude session, e.g. a cross-session hand-back). Other fields vary by
kind and are not modeled — only kind is needed to exclude
harness-generated turns from a restore digest.
Fields§
§kind: StringOrigin kind, e.g. "human", "task-notification", "peer"
Trait Implementations§
Source§impl Clone for OriginInfo
impl Clone for OriginInfo
Source§impl Debug for OriginInfo
impl Debug for OriginInfo
Source§impl<'de> Deserialize<'de> for OriginInfo
impl<'de> Deserialize<'de> for OriginInfo
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 OriginInfo
impl RefUnwindSafe for OriginInfo
impl Send for OriginInfo
impl Sync for OriginInfo
impl Unpin for OriginInfo
impl UnsafeUnpin for OriginInfo
impl UnwindSafe for OriginInfo
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