pub struct VerifyRoundTripResponse {
pub entities_expected: u64,
pub entities_extracted: u64,
pub entities_matched: u64,
pub entity_details: Vec<EntityVerificationDetailDto>,
pub faithfulness_score: f64,
pub mismatches: Vec<String>,
pub passed: bool,
pub total_features_expected: u64,
pub total_features_recovered: u64,
pub unmatched_extracted: Vec<Uuid>,
pub unmatched_ground_truth: Vec<Uuid>,
}Expand description
Response from round-trip faithfulness verification.
Fields§
§entities_expected: u64Number of ground truth entities.
entities_extracted: u64Number of extracted entities.
entities_matched: u64Number of entities successfully matched.
entity_details: Vec<EntityVerificationDetailDto>Per-entity verification details.
faithfulness_score: f64Overall faithfulness score (0.0-1.0).
mismatches: Vec<String>Summary of mismatches found.
passed: boolWhether the verification passed all thresholds.
total_features_expected: u64Total features expected across all ground truth entities.
total_features_recovered: u64Total features successfully recovered.
unmatched_extracted: Vec<Uuid>Extracted entities not matched to any ground truth.
unmatched_ground_truth: Vec<Uuid>Ground truth entities not matched by any extraction.
Implementations§
Source§impl VerifyRoundTripResponse
impl VerifyRoundTripResponse
pub fn builder() -> VerifyRoundTripResponse
Trait Implementations§
Source§impl Clone for VerifyRoundTripResponse
impl Clone for VerifyRoundTripResponse
Source§fn clone(&self) -> VerifyRoundTripResponse
fn clone(&self) -> VerifyRoundTripResponse
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 VerifyRoundTripResponse
impl Debug for VerifyRoundTripResponse
Source§impl<'de> Deserialize<'de> for VerifyRoundTripResponse
impl<'de> Deserialize<'de> for VerifyRoundTripResponse
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
Source§impl From<VerifyRoundTripResponse> for VerifyRoundTripResponse
impl From<VerifyRoundTripResponse> for VerifyRoundTripResponse
Source§fn from(value: VerifyRoundTripResponse) -> Self
fn from(value: VerifyRoundTripResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VerifyRoundTripResponse
impl PartialEq for VerifyRoundTripResponse
Source§impl Serialize for VerifyRoundTripResponse
impl Serialize for VerifyRoundTripResponse
Source§impl TryFrom<VerifyRoundTripResponse> for VerifyRoundTripResponse
impl TryFrom<VerifyRoundTripResponse> for VerifyRoundTripResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: VerifyRoundTripResponse) -> Result<Self, ConversionError>
fn try_from(value: VerifyRoundTripResponse) -> Result<Self, ConversionError>
Performs the conversion.
impl StructuralPartialEq for VerifyRoundTripResponse
Auto Trait Implementations§
impl Freeze for VerifyRoundTripResponse
impl RefUnwindSafe for VerifyRoundTripResponse
impl Send for VerifyRoundTripResponse
impl Sync for VerifyRoundTripResponse
impl Unpin for VerifyRoundTripResponse
impl UnsafeUnpin for VerifyRoundTripResponse
impl UnwindSafe for VerifyRoundTripResponse
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