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,
pub cache_key: Option<String>,
}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: boolWhether this invocation reused exact completed check evidence.
cache_key: Option<String>Exact receipt key matched by a replay, absent for fresh execution.
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 Forget for Result
impl Freeze for Resultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<ItfTrace>: Freeze,
impl Move for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnsafeUnpin for Resultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<ItfTrace>: UnsafeUnpin,
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