Trait DataSource

Source
pub trait DataSource:
    Send
    + Sync
    + 'static {
Show 20 methods // Required methods fn create_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn local_participant_details<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn local_participant_details_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn create_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_details<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_details_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_progress<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_progress_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_result<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn participant_activity_result_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

fn create_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Create a new participant in this data source in a specific domain.

Source

fn create_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Create a new participant in this data source in a specific domain.

Source

fn update_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Update a participant in this data source in a specific domain.

Source

fn update_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Update a participant in this data source in a specific domain.

Source

fn delete_local_participant<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete a participant from this data source in a specific domain.

Source

fn delete_local_participant_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Delete a participant from this data source in a specific domain.

Source

fn local_participant_details<'life0, 'async_trait>( &'life0 self, request: ParticipantRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Check the details of a participant in this data source in a specific domain.

Source

fn local_participant_details_batch<'life0, 'async_trait>( &'life0 self, request: ParticipantBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ParticipantBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Check the details of a participant in this data source in a specific domain.

Source

fn create_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Create an activity for a specific participant.

Source

fn create_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Create an activity for a specific participant.

Source

fn update_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Update an activity for a specific participant.

Source

fn update_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Update an activity for a specific participant.

Source

fn delete_participant_activity<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Delete an activity for a specific participant.

Source

fn delete_participant_activity_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Delete an activity for a specific participant.

Source

fn participant_activity_details<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Check the details of an activity for a specific participant. This should NOT return any sensitive data.

Source

fn participant_activity_details_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Check the details of an activity for a specific participant.

Source

fn participant_activity_progress<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Check the progress of an activity for a specific participant. This should NOT return any sensitive data.

Source

fn participant_activity_progress_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Check the progress of an activity for a specific participant.

Source

fn participant_activity_result<'life0, 'async_trait>( &'life0 self, request: ActivityRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Check the result of an activity for a specific participant. This should only return how the data can be accessed, not the data itself. Or it should return the data, but encrypted for an authorized user.

Source

fn participant_activity_result_batch<'life0, 'async_trait>( &'life0 self, request: ActivityBatchRequest, ) -> Pin<Box<dyn Future<Output = Result<Option<ActivityBatchResponse>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

BATCH: Check the result of an activity for a specific participant.

Implementors§