pub struct ReflectionReport {
pub trace_id: TraceId,
pub status: ReflectionReportStatus,
pub adapter_id: String,
pub model: String,
pub raw_hash: String,
pub reflection: Option<SessionReflection>,
pub persisted_memory_candidates: Vec<PersistedMemoryCandidate>,
pub quarantine_audit_id: Option<AuditRecordId>,
pub error: Option<ReflectionRejection>,
}Expand description
Non-panicking report shape for reflection orchestration.
Fields§
§trace_id: TraceIdTrace requested by the caller.
status: ReflectionReportStatusOverall report status.
adapter_id: StringAdapter id that produced the output.
model: StringModel echoed by the adapter.
raw_hash: StringHash of the raw adapter response.
reflection: Option<SessionReflection>Parsed reflection, when candidate-only.
persisted_memory_candidates: Vec<PersistedMemoryCandidate>Durable candidate memory rows inserted by this call.
quarantine_audit_id: Option<AuditRecordId>Quarantine audit row id, when quarantined.
error: Option<ReflectionRejection>Parser reason, when quarantined.
Trait Implementations§
Source§impl Clone for ReflectionReport
impl Clone for ReflectionReport
Source§fn clone(&self) -> ReflectionReport
fn clone(&self) -> ReflectionReport
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 Debug for ReflectionReport
impl Debug for ReflectionReport
Source§impl<'de> Deserialize<'de> for ReflectionReport
impl<'de> Deserialize<'de> for ReflectionReport
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 PartialEq for ReflectionReport
impl PartialEq for ReflectionReport
Source§fn eq(&self, other: &ReflectionReport) -> bool
fn eq(&self, other: &ReflectionReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReflectionReport
impl Serialize for ReflectionReport
impl StructuralPartialEq for ReflectionReport
Auto Trait Implementations§
impl Freeze for ReflectionReport
impl RefUnwindSafe for ReflectionReport
impl Send for ReflectionReport
impl Sync for ReflectionReport
impl Unpin for ReflectionReport
impl UnsafeUnpin for ReflectionReport
impl UnwindSafe for ReflectionReport
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