pub struct EvidenceItem {
pub evidence_ref: EntityRef,
pub role: EvidenceRole,
pub redacted_summary: String,
pub privacy_class: PrivacyClass,
pub retention_class: RetentionClass,
pub derived_from: Vec<EntityRef>,
}Expand description
One model-visible or evaluator-visible evidence ref.
Fields§
§evidence_ref: EntityRefEntity ref used for cited support validation.
role: EvidenceRoleRole this item plays in the evaluation.
redacted_summary: StringBounded summary safe for evaluator prompts and logs.
privacy_class: PrivacyClassPrivacy class for projection and storage decisions.
retention_class: RetentionClassRetention class for downstream storage decisions.
derived_from: Vec<EntityRef>Refs this item was derived from.
Implementations§
Source§impl EvidenceItem
impl EvidenceItem
Trait Implementations§
Source§impl Clone for EvidenceItem
impl Clone for EvidenceItem
Source§fn clone(&self) -> EvidenceItem
fn clone(&self) -> EvidenceItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EvidenceItem
impl Debug for EvidenceItem
Source§impl<'de> Deserialize<'de> for EvidenceItem
impl<'de> Deserialize<'de> for EvidenceItem
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 PartialEq for EvidenceItem
impl PartialEq for EvidenceItem
Source§fn eq(&self, other: &EvidenceItem) -> bool
fn eq(&self, other: &EvidenceItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EvidenceItem
impl Serialize for EvidenceItem
impl Eq for EvidenceItem
impl StructuralPartialEq for EvidenceItem
Auto Trait Implementations§
impl Freeze for EvidenceItem
impl RefUnwindSafe for EvidenceItem
impl Send for EvidenceItem
impl Sync for EvidenceItem
impl Unpin for EvidenceItem
impl UnsafeUnpin for EvidenceItem
impl UnwindSafe for EvidenceItem
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