pub struct ReasoningStartEvent {
pub base: BaseEvent,
pub message_id: MessageId,
pub subagent_run_id: Option<SubagentRunId>,
}Expand description
Opens a reasoning block. Reasoning messages inside it are bracketed by
REASONING_MESSAGE_START / REASONING_MESSAGE_END, and the block closes
with REASONING_END.
Fields§
§base: BaseEventTimestamp and raw provider event.
message_id: MessageIdThe message this reasoning belongs to.
subagent_run_id: Option<SubagentRunId>The subagent that produced this event; absent means the parent agent.
A JSON null is rejected — see crate::event::subagent.
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningStartEvent
impl Clone for ReasoningStartEvent
Source§fn clone(&self) -> ReasoningStartEvent
fn clone(&self) -> ReasoningStartEvent
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 ComposeSchema for ReasoningStartEvent
impl ComposeSchema for ReasoningStartEvent
Source§impl Debug for ReasoningStartEvent
impl Debug for ReasoningStartEvent
Source§impl Default for ReasoningStartEvent
impl Default for ReasoningStartEvent
Source§fn default() -> ReasoningStartEvent
fn default() -> ReasoningStartEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningStartEvent
impl<'de> Deserialize<'de> for ReasoningStartEvent
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 From<ReasoningStartEvent> for Event
impl From<ReasoningStartEvent> for Event
Source§fn from(payload: ReasoningStartEvent) -> Self
fn from(payload: ReasoningStartEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ReasoningStartEvent
impl JsonSchema for ReasoningStartEvent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReasoningStartEvent
impl PartialEq for ReasoningStartEvent
Source§fn eq(&self, other: &ReasoningStartEvent) -> bool
fn eq(&self, other: &ReasoningStartEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasoningStartEvent
impl Serialize for ReasoningStartEvent
impl StructuralPartialEq for ReasoningStartEvent
Auto Trait Implementations§
impl Freeze for ReasoningStartEvent
impl RefUnwindSafe for ReasoningStartEvent
impl Send for ReasoningStartEvent
impl Sync for ReasoningStartEvent
impl Unpin for ReasoningStartEvent
impl UnsafeUnpin for ReasoningStartEvent
impl UnwindSafe for ReasoningStartEvent
Blanket Implementations§
impl<T> AgentState for T
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