pub struct AssistantEntry {
pub envelope: Envelope,
pub message: AssistantMessage,
pub request_id: Option<String>,
pub is_api_error_message: Option<bool>,
pub error: Option<String>,
pub api_error_status: Option<u16>,
pub attribution_agent: Option<String>,
pub attribution_plugin: Option<String>,
pub attribution_skill: Option<String>,
}Fields§
§envelope: Envelope§message: AssistantMessage§request_id: Option<String>§is_api_error_message: Option<bool>§error: Option<String>§api_error_status: Option<u16>HTTP status returned by the API when the turn errored (e.g. 401, 429,
400, 403). Populated alongside error / is_api_error_message on
failed turns; absent on successful turns.
attribution_agent: Option<String>Subagent / plugin slug that produced this turn. Format <plugin>:<agent>
when emitted by a plugin-namespaced agent, or bare <agent> for
built-in agents. Absent on top-level turns.
attribution_plugin: Option<String>Plugin namespace owning the subagent for this turn. Canonical when it
disagrees with the <plugin>: prefix of attribution_agent. Absent
when attribution_agent is bare or absent.
attribution_skill: Option<String>Skill slug invoked on this turn. Format <plugin>:<skill> for
plugin-namespaced skills, or bare <skill> for built-in skills.
Absent when no skill is active for this turn.
Trait Implementations§
Source§impl Clone for AssistantEntry
impl Clone for AssistantEntry
Source§fn clone(&self) -> AssistantEntry
fn clone(&self) -> AssistantEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 AssistantEntry
impl Debug for AssistantEntry
Source§impl<'de> Deserialize<'de> for AssistantEntry
impl<'de> Deserialize<'de> for AssistantEntry
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 AssistantEntry
impl RefUnwindSafe for AssistantEntry
impl Send for AssistantEntry
impl Sync for AssistantEntry
impl Unpin for AssistantEntry
impl UnsafeUnpin for AssistantEntry
impl UnwindSafe for AssistantEntry
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