pub struct Evidence {Show 17 fields
pub id: EvidenceId,
pub tenant_id: TenantId,
pub project_id: ProjectId,
pub source_uri: String,
pub source_type: String,
pub source_id: String,
pub content: String,
pub char_start: Option<u32>,
pub char_end: Option<u32>,
pub byte_start: Option<u64>,
pub byte_end: Option<u64>,
pub observed_at: Option<DateTime<Utc>>,
pub extracted_at: Option<DateTime<Utc>>,
pub extractor_version: Option<String>,
pub confidence: Option<f32>,
pub metadata: Value,
pub author: Option<AuthorStamp>,
}Fields§
§id: EvidenceId§tenant_id: TenantId§project_id: ProjectId§source_uri: StringURI/path of the source artifact (e.g. “s3://antares/calls/2026-04-29.vtt” or “antares://transcripts/meeting_001”). Required.
source_type: StringWhat kind of source: “transcript” | “email_event” | “crm_field” | …
source_id: StringIdentifier of the source event/artifact (e.g. “meeting_001”, “email_001”). Required.
content: StringThe literal text/data the evidence points at. Required.
char_start: Option<u32>§char_end: Option<u32>§byte_start: Option<u64>§byte_end: Option<u64>§observed_at: Option<DateTime<Utc>>§extracted_at: Option<DateTime<Utc>>§extractor_version: Option<String>§confidence: Option<f32>Confidence in [0,1]. None = treated as 1.0.
metadata: ValueFree-form metadata. Use sparingly — first-class fields above are preferred.
Which user persisted this evidence. None for older
records and for anonymous calls.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
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 StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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