pub struct EventIn {
pub actor: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub payload: Option<Option<Value>>,
}Fields§
§actor: Option<String>Actor is who produced the turn. Empty takes the validated caller, which is what an agent writing its own transcript wants; naming one is for a surface recording on somebody else’s behalf.
id: Option<String>ID is the session to append to, from the path.
kind: Option<String>Kind is what this turn IS: message, tool-call, spawn, log, status, control or progress. Anything else is refused — the vocabulary is closed so a reader can branch on it.
payload: Option<Option<Value>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventIn
impl<'de> Deserialize<'de> for EventIn
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 StructuralPartialEq for EventIn
Auto Trait Implementations§
impl Freeze for EventIn
impl RefUnwindSafe for EventIn
impl Send for EventIn
impl Sync for EventIn
impl Unpin for EventIn
impl UnsafeUnpin for EventIn
impl UnwindSafe for EventIn
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