pub struct Result {
pub obligation_id: String,
pub requirement_ids: Vec<String>,
pub request_sha256: String,
pub backend_revision: String,
pub worker_sha256: Option<String>,
pub wall_time_ms: u64,
pub outcome: Outcome,
pub response: Option<Response>,
pub error: Option<Error>,
pub cache_hit: bool,
}Expand description
Attributed worker result; execution and native outcomes remain separate.
Fields§
§obligation_id: StringCaller obligation identity, unchanged.
requirement_ids: Vec<String>Caller requirement identities, unchanged.
request_sha256: StringCanonical identity of the exact worker request.
backend_revision: StringExact backend source revision.
worker_sha256: Option<String>Authenticated worker bytes, absent when unavailable.
wall_time_ms: u64Effective whole-worker deadline.
outcome: OutcomeProcess outcome, independent of native logical evidence.
response: Option<Response>Original complete worker evidence, absent on execution failure.
error: Option<Error>Explicit execution diagnostic.
cache_hit: boolThis slice never caches temporal evidence.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Result
impl<'de> Deserialize<'de> for Result
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 Result
impl StructuralPartialEq for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnsafeUnpin for Result
impl UnwindSafe for Result
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