pub struct Document {Show 13 fields
pub id: DocumentId,
pub location_id: LocationId,
pub subject: DocumentSubject,
pub classification: Classification,
pub source: Source,
pub uploaded_by_actor: ActorRef,
pub uploaded_at: DateTime<Utc>,
pub original_file: OriginalFile,
pub storage_ref: StorageRef,
pub virus_scan_status: VirusScanStatus,
pub pii_redaction_status: PiiRedactionStatus,
pub verification_status: Status,
pub audit_refs: Vec<EventId>,
}Expand description
Document record tying storage, classification, source, scan, redaction, and review status together.
Fields§
§id: DocumentIdId retained from source records for staff review, safety gates, and workflow joins.
location_id: LocationIdLocation id retained from source records for staff review, safety gates, and workflow joins.
subject: DocumentSubjectSubject retained from source records for staff review, safety gates, and workflow joins.
classification: ClassificationClassification retained from source records for staff review, safety gates, and workflow joins.
source: SourceSource retained from source records for staff review, safety gates, and workflow joins.
uploaded_by_actor: ActorRefUploaded by actor retained from source records for staff review, safety gates, and workflow joins.
uploaded_at: DateTime<Utc>Uploaded at retained from source records for staff review, safety gates, and workflow joins.
original_file: OriginalFileOriginal file retained from source records for staff review, safety gates, and workflow joins.
storage_ref: StorageRefStorage ref retained from source records for staff review, safety gates, and workflow joins.
virus_scan_status: VirusScanStatusVirus scan status retained from source records for staff review, safety gates, and workflow joins.
pii_redaction_status: PiiRedactionStatusPii redaction status retained from source records for staff review, safety gates, and workflow joins.
verification_status: StatusVerification status retained from source records for staff review, safety gates, and workflow joins.
audit_refs: Vec<EventId>Audit refs retained from source records for staff review, safety gates, and workflow joins.