pub trait BucketQueryService: Send + Sync {
Show 39 methods
// Required methods
fn get_access_log<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_access_log_summary<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn access_log_exists<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_bucket<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_bucket_summary<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn bucket_exists<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_content_hash<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_content_hash_summary<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn content_hash_exists<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_conversion_job<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_conversion_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn conversion_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_comment<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_comment_summary<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn file_comment_exists<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_lock<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_lock_summary<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn file_lock_exists<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_share<'life0, 'async_trait>(
&'life0 self,
id: FileShareId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileShareDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_share_summary<'life0, 'async_trait>(
&'life0 self,
id: FileShareId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileShareSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn file_share_exists<'life0, 'async_trait>(
&'life0 self,
id: FileShareId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_version<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_file_version_summary<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn file_version_exists<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_processing_job<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_processing_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn processing_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_stored_file<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_stored_file_summary<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn stored_file_exists<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_thumbnail<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_thumbnail_summary<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn thumbnail_exists<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_upload_session<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_upload_session_summary<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn upload_session_exists<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_user_quota<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaDto>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_user_quota_summary<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaSummary>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn user_quota_exists<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Public query service for Bucket module
This trait defines read-only operations that other modules can use. Implementations should NOT expose internal domain logic.
Required Methods§
Sourcefn get_access_log<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_access_log<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get AccessLog by ID
Sourcefn get_access_log_summary<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_access_log_summary<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<Option<AccessLogSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get AccessLog summary by ID
Sourcefn access_log_exists<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn access_log_exists<'life0, 'async_trait>(
&'life0 self,
id: AccessLogId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if AccessLog exists
Sourcefn get_bucket<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bucket<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Bucket by ID
Sourcefn get_bucket_summary<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_bucket_summary<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<Option<BucketSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Bucket summary by ID
Sourcefn bucket_exists<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn bucket_exists<'life0, 'async_trait>(
&'life0 self,
id: BucketId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if Bucket exists
Sourcefn get_content_hash<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_content_hash<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ContentHash by ID
Sourcefn get_content_hash_summary<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_content_hash_summary<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<Option<ContentHashSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ContentHash summary by ID
Sourcefn content_hash_exists<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn content_hash_exists<'life0, 'async_trait>(
&'life0 self,
id: ContentHashId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if ContentHash exists
Sourcefn get_conversion_job<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_conversion_job<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ConversionJob by ID
Sourcefn get_conversion_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_conversion_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversionJobSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ConversionJob summary by ID
Sourcefn conversion_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn conversion_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ConversionJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if ConversionJob exists
Sourcefn get_file_comment<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_comment<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileComment by ID
Sourcefn get_file_comment_summary<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_comment_summary<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileCommentSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileComment summary by ID
Sourcefn file_comment_exists<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn file_comment_exists<'life0, 'async_trait>(
&'life0 self,
id: FileCommentId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if FileComment exists
Sourcefn get_file_lock<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_lock<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileLock by ID
Sourcefn get_file_lock_summary<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_lock_summary<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileLockSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileLock summary by ID
Sourcefn file_lock_exists<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn file_lock_exists<'life0, 'async_trait>(
&'life0 self,
id: FileLockId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if FileLock exists
Get FileShare by ID
Get FileShare summary by ID
Check if FileShare exists
Sourcefn get_file_version<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_version<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileVersion by ID
Sourcefn get_file_version_summary<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_file_version_summary<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<Option<FileVersionSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get FileVersion summary by ID
Sourcefn file_version_exists<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn file_version_exists<'life0, 'async_trait>(
&'life0 self,
id: FileVersionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if FileVersion exists
Sourcefn get_processing_job<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_processing_job<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ProcessingJob by ID
Sourcefn get_processing_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_processing_job_summary<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<Option<ProcessingJobSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get ProcessingJob summary by ID
Sourcefn processing_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn processing_job_exists<'life0, 'async_trait>(
&'life0 self,
id: ProcessingJobId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if ProcessingJob exists
Sourcefn get_stored_file<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_stored_file<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get StoredFile by ID
Sourcefn get_stored_file_summary<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_stored_file_summary<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredFileSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get StoredFile summary by ID
Sourcefn stored_file_exists<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stored_file_exists<'life0, 'async_trait>(
&'life0 self,
id: StoredFileId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if StoredFile exists
Sourcefn get_thumbnail<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_thumbnail<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Thumbnail by ID
Sourcefn get_thumbnail_summary<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_thumbnail_summary<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<Option<ThumbnailSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Thumbnail summary by ID
Sourcefn thumbnail_exists<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn thumbnail_exists<'life0, 'async_trait>(
&'life0 self,
id: ThumbnailId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if Thumbnail exists
Sourcefn get_upload_session<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_upload_session<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get UploadSession by ID
Sourcefn get_upload_session_summary<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_upload_session_summary<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<Option<UploadSessionSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get UploadSession summary by ID
Sourcefn upload_session_exists<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn upload_session_exists<'life0, 'async_trait>(
&'life0 self,
id: UploadSessionId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if UploadSession exists
Sourcefn get_user_quota<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_user_quota<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaDto>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get UserQuota by ID
Sourcefn get_user_quota_summary<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_user_quota_summary<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<Option<UserQuotaSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get UserQuota summary by ID
Sourcefn user_quota_exists<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn user_quota_exists<'life0, 'async_trait>(
&'life0 self,
id: UserQuotaId,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Check if UserQuota exists
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".