koprogo_api/application/ports/
gdpr_art30_repository.rs

1use crate::domain::entities::gdpr_art30::{ProcessingActivity, ProcessorAgreement};
2use async_trait::async_trait;
3
4/// Port pour le registre des traitements GDPR Art. 30
5#[async_trait]
6pub trait GdprArt30Repository: Send + Sync {
7    async fn list_processing_activities(&self) -> Result<Vec<ProcessingActivity>, String>;
8    async fn list_processor_agreements(&self) -> Result<Vec<ProcessorAgreement>, String>;
9}