pub struct ReasoningEncryptedValueEvent {
pub base: BaseEvent,
pub subtype: ReasoningEncryptedValueSubtype,
pub entity_id: String,
pub encrypted_value: String,
pub subagent_run_id: Option<SubagentRunId>,
}Expand description
Carries a provider’s opaque reasoning signature.
Under zero-data-retention the provider returns no readable reasoning, only a blob that must be replayed on the next request for the model to continue coherently.
Fields§
§base: BaseEventTimestamp and raw provider event.
subtype: ReasoningEncryptedValueSubtypeWhether entity_id names a tool call or a message.
entity_id: StringThe tool call or message the blob belongs to.
encrypted_value: StringThe opaque blob.
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 ReasoningEncryptedValueEvent
impl Clone for ReasoningEncryptedValueEvent
Source§fn clone(&self) -> ReasoningEncryptedValueEvent
fn clone(&self) -> ReasoningEncryptedValueEvent
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 ReasoningEncryptedValueEvent
impl ComposeSchema for ReasoningEncryptedValueEvent
Source§impl Debug for ReasoningEncryptedValueEvent
impl Debug for ReasoningEncryptedValueEvent
Source§impl Default for ReasoningEncryptedValueEvent
impl Default for ReasoningEncryptedValueEvent
Source§fn default() -> ReasoningEncryptedValueEvent
fn default() -> ReasoningEncryptedValueEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasoningEncryptedValueEvent
impl<'de> Deserialize<'de> for ReasoningEncryptedValueEvent
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<ReasoningEncryptedValueEvent> for Event
impl From<ReasoningEncryptedValueEvent> for Event
Source§fn from(payload: ReasoningEncryptedValueEvent) -> Self
fn from(payload: ReasoningEncryptedValueEvent) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ReasoningEncryptedValueEvent
impl JsonSchema for ReasoningEncryptedValueEvent
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 ReasoningEncryptedValueEvent
impl PartialEq for ReasoningEncryptedValueEvent
Source§fn eq(&self, other: &ReasoningEncryptedValueEvent) -> bool
fn eq(&self, other: &ReasoningEncryptedValueEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReasoningEncryptedValueEvent
Auto Trait Implementations§
impl Freeze for ReasoningEncryptedValueEvent
impl RefUnwindSafe for ReasoningEncryptedValueEvent
impl Send for ReasoningEncryptedValueEvent
impl Sync for ReasoningEncryptedValueEvent
impl Unpin for ReasoningEncryptedValueEvent
impl UnsafeUnpin for ReasoningEncryptedValueEvent
impl UnwindSafe for ReasoningEncryptedValueEvent
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