pub struct EvaluateResponse {
pub verdict: Verdict,
pub receipt: HttpReceipt,
pub evidence: Vec<GuardEvidence>,
pub execution_nonce: Option<SignedExecutionNonce>,
}Expand description
Response body for sidecar HTTP request evaluation.
On an Allow verdict from a kernel configured with
ExecutionNonceConfig, the response carries a short-lived signed nonce
that the client MUST re-present before executing the tool call. The
field is None on Deny/Cancel/Incomplete and on deployments
without a nonce config, preserving wire-level backward compatibility.
Fields§
§verdict: Verdict§receipt: HttpReceipt§evidence: Vec<GuardEvidence>§execution_nonce: Option<SignedExecutionNonce>Optional signed execution nonce. Present only when the kernel
issues one (allow verdict + strict/opt-in nonce mode). See
docs/protocols/STRUCTURAL-SECURITY-FIXES.md section 1.
Trait Implementations§
Source§impl Clone for EvaluateResponse
impl Clone for EvaluateResponse
Source§fn clone(&self) -> EvaluateResponse
fn clone(&self) -> EvaluateResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 EvaluateResponse
impl Debug for EvaluateResponse
Source§impl<'de> Deserialize<'de> for EvaluateResponse
impl<'de> Deserialize<'de> for EvaluateResponse
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
Auto Trait Implementations§
impl Freeze for EvaluateResponse
impl RefUnwindSafe for EvaluateResponse
impl Send for EvaluateResponse
impl Sync for EvaluateResponse
impl Unpin for EvaluateResponse
impl UnsafeUnpin for EvaluateResponse
impl UnwindSafe for EvaluateResponse
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