pub enum WireEntryKind {
Header,
User(String),
Assistant(String),
Reasoning {
text: String,
took_ms: Option<u64>,
},
Tool {
id: String,
name: String,
args: String,
result: String,
ok: bool,
done: bool,
},
System(String),
Notice(String),
Stats(String),
Diff(String),
}Expand description
Matches hrdr_agent::EntryKind’s serde shape exactly. This is the one
exception to “struct variants only” — it must mirror the externally-shaped
serde, newtype variants included, so the round-trip test passes.
Variants§
Header
User(String)
Assistant(String)
Reasoning
Tool
System(String)
Notice(String)
Stats(String)
Diff(String)
Trait Implementations§
Source§impl Clone for WireEntryKind
impl Clone for WireEntryKind
Source§fn clone(&self) -> WireEntryKind
fn clone(&self) -> WireEntryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireEntryKind
impl Debug for WireEntryKind
Source§impl<'de> Deserialize<'de> for WireEntryKind
impl<'de> Deserialize<'de> for WireEntryKind
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
Source§impl PartialEq for WireEntryKind
impl PartialEq for WireEntryKind
Source§impl Serialize for WireEntryKind
impl Serialize for WireEntryKind
impl StructuralPartialEq for WireEntryKind
Auto Trait Implementations§
impl Freeze for WireEntryKind
impl RefUnwindSafe for WireEntryKind
impl Send for WireEntryKind
impl Sync for WireEntryKind
impl Unpin for WireEntryKind
impl UnsafeUnpin for WireEntryKind
impl UnwindSafe for WireEntryKind
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