pub struct QueryResult {
pub obligation_id: String,
pub requirement_ids: Vec<String>,
pub backend: String,
pub outcome: Outcome,
pub checks: Vec<Check>,
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub solver: Option<SolverIdentity>,
pub script_sha256: String,
pub limits: Limits,
pub cache_hit: bool,
pub error: Option<Error>,
}Expand description
One attributed transcript result.
Fields§
§obligation_id: StringCaller identity, preserved exactly.
requirement_ids: Vec<String>Caller requirement identities, preserved exactly.
backend: StringRequested backend, preserved even when unavailable.
outcome: OutcomeProcess outcome; never inferred from a partial output prefix.
checks: Vec<Check>Empty unless the complete response plan was validated.
stdout: Vec<u8>Exact bounded standard output bytes.
stderr: Vec<u8>Exact bounded standard error bytes.
solver: Option<SolverIdentity>Present only after actual executable identity verification.
script_sha256: StringContent identity of the exact script.
limits: LimitsEffective admitted limits.
cache_hit: boolTrue only when complete original solver evidence was reused.
error: Option<Error>Explicit failure diagnostic, absent for completed transcripts.
Trait Implementations§
Source§impl Clone for QueryResult
impl Clone for QueryResult
Source§impl Debug for QueryResult
impl Debug for QueryResult
Source§impl<'de> Deserialize<'de> for QueryResult
impl<'de> Deserialize<'de> for QueryResult
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
impl Eq for QueryResult
Source§impl PartialEq for QueryResult
impl PartialEq for QueryResult
Source§impl Serialize for QueryResult
impl Serialize for QueryResult
impl StructuralPartialEq for QueryResult
Auto Trait Implementations§
impl Forget for QueryResult
impl Freeze for QueryResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Check>: Freeze,
impl Move for QueryResult
impl RefUnwindSafe for QueryResult
impl Send for QueryResultwhere
RawVecInner: Send,
impl Sync for QueryResultwhere
RawVecInner: Sync,
impl Unpin for QueryResult
impl UnsafeUnpin for QueryResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Check>: UnsafeUnpin,
impl UnwindSafe for QueryResultwhere
RawVecInner: UnwindSafe,
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