pub struct ReasoningEndEvent {
pub base: BaseEvent,
pub message_id: MessageId,
pub subagent_run_id: Option<SubagentRunId>,
}Expand description
Closes a reasoning block.
Fields§
§base: BaseEventTimestamp and raw provider event.
message_id: MessageIdThe message whose reasoning block is closing.
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 ReasoningEndEvent
impl Clone for ReasoningEndEvent
Source§fn clone(&self) -> ReasoningEndEvent
fn clone(&self) -> ReasoningEndEvent
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 ReasoningEndEvent
impl ComposeSchema for ReasoningEndEvent
Source§impl Debug for ReasoningEndEvent
impl Debug for ReasoningEndEvent
Source§impl Default for ReasoningEndEvent
impl Default for ReasoningEndEvent
Source§fn default() -> ReasoningEndEvent
fn default() -> ReasoningEndEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningEndEvent
impl<'de> Deserialize<'de> for ReasoningEndEvent
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<ReasoningEndEvent> for Event
impl From<ReasoningEndEvent> for Event
Source§fn from(payload: ReasoningEndEvent) -> Self
fn from(payload: ReasoningEndEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ReasoningEndEvent
impl JsonSchema for ReasoningEndEvent
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 ReasoningEndEvent
impl PartialEq for ReasoningEndEvent
Source§fn eq(&self, other: &ReasoningEndEvent) -> bool
fn eq(&self, other: &ReasoningEndEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasoningEndEvent
impl Serialize for ReasoningEndEvent
impl StructuralPartialEq for ReasoningEndEvent
Auto Trait Implementations§
impl Freeze for ReasoningEndEvent
impl RefUnwindSafe for ReasoningEndEvent
impl Send for ReasoningEndEvent
impl Sync for ReasoningEndEvent
impl Unpin for ReasoningEndEvent
impl UnsafeUnpin for ReasoningEndEvent
impl UnwindSafe for ReasoningEndEvent
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