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§impl ComposeSchema for ReasoningEncryptedValueEvent
Available on crate feature utoipa only.
impl ComposeSchema for ReasoningEncryptedValueEvent
Available on crate feature
utoipa only.Source§impl Debug for ReasoningEncryptedValueEvent
impl Debug for ReasoningEncryptedValueEvent
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
Available on crate feature schemars only.
impl JsonSchema for ReasoningEncryptedValueEvent
Available on crate feature
schemars only.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 moreimpl StructuralPartialEq for ReasoningEncryptedValueEvent
Source§impl ToSchema for ReasoningEncryptedValueEvent
Available on crate feature utoipa only.
impl ToSchema for ReasoningEncryptedValueEvent
Available on crate feature
utoipa only.Auto Trait Implementations§
impl Forget for ReasoningEncryptedValueEvent
impl Freeze for ReasoningEncryptedValueEvent
impl Move 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