pub struct NormalizedEvaluationVerdict {
pub request: NormalizedRequest,
pub verdict: NormalizedVerdict,
pub reason: Option<String>,
pub matched_grant_index: Option<usize>,
pub verified: Option<NormalizedVerifiedCapability>,
}Expand description
Proof-facing evaluation output.
Fields§
§request: NormalizedRequest§verdict: NormalizedVerdict§reason: Option<String>§matched_grant_index: Option<usize>§verified: Option<NormalizedVerifiedCapability>Implementations§
Source§impl NormalizedEvaluationVerdict
impl NormalizedEvaluationVerdict
pub fn try_from_evaluation( request: &PortableToolCallRequest, verdict: &EvaluationVerdict, ) -> Result<Self, NormalizationError>
Trait Implementations§
Source§impl Clone for NormalizedEvaluationVerdict
impl Clone for NormalizedEvaluationVerdict
Source§fn clone(&self) -> NormalizedEvaluationVerdict
fn clone(&self) -> NormalizedEvaluationVerdict
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 NormalizedEvaluationVerdict
impl Debug for NormalizedEvaluationVerdict
Source§impl<'de> Deserialize<'de> for NormalizedEvaluationVerdict
impl<'de> Deserialize<'de> for NormalizedEvaluationVerdict
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 NormalizedEvaluationVerdict
impl StructuralPartialEq for NormalizedEvaluationVerdict
Auto Trait Implementations§
impl Freeze for NormalizedEvaluationVerdict
impl RefUnwindSafe for NormalizedEvaluationVerdict
impl Send for NormalizedEvaluationVerdict
impl Sync for NormalizedEvaluationVerdict
impl Unpin for NormalizedEvaluationVerdict
impl UnsafeUnpin for NormalizedEvaluationVerdict
impl UnwindSafe for NormalizedEvaluationVerdict
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