pub struct Claim {Show 15 fields
pub claim_id: String,
pub source_id: String,
pub span_id: String,
pub claim_text: String,
pub normalized_claim: String,
pub claim_type: String,
pub status: String,
pub support_judgment_ref: String,
pub evidence_bundle_ref: String,
pub proof_debt: Vec<ProofDebt>,
pub recommended_action: String,
pub rationale: String,
pub confidence: f64,
pub created_at: Option<DateTime<Utc>>,
pub metadata: Value,
}Expand description
A claim extracted from source material.
Fields§
§claim_id: StringUnique identifier for this claim.
source_id: StringSource this claim was extracted from.
span_id: StringSpan within the source this claim was extracted from.
claim_text: StringThe raw claim text.
normalized_claim: StringNormalized form of the claim text.
claim_type: StringKind of claim (e.g., “fact”, “suggestion”, “warning”).
status: StringProcessing status.
support_judgment_ref: StringCurrent support judgment ID for this claim.
evidence_bundle_ref: StringEvidence bundle ID for this claim.
proof_debt: Vec<ProofDebt>Proof debts attached to this claim.
recommended_action: StringRecommended next action.
rationale: StringRationale for this claim.
confidence: f64Confidence score 0.0–1.0.
created_at: Option<DateTime<Utc>>When this claim was created.
metadata: ValueAdditional metadata.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Claim
impl<'de> Deserialize<'de> for Claim
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Claim, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Claim, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Claim
impl Serialize for Claim
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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