pub struct ModuleExt {
pub locking_service: Arc<LockingService>,
pub multipart_upload_service: Arc<MultipartUploadService>,
pub conversion_service: Arc<ConversionService>,
pub cdn_service: Arc<CdnService>,
pub video_thumbnail_service: Arc<VideoThumbnailService>,
pub document_preview_service: Arc<DocumentPreviewService>,
pub storage: Option<Arc<dyn ObjectStorage>>,
pub bucket_config: Option<Arc<BucketConfig>>,
pub file_service: Option<Arc<FileService>>,
pub stored_file_repository: Arc<StoredFileRepository>,
}Expand description
State the module adds; read through the generated module’s Deref.
Fields§
§locking_service: Arc<LockingService>§multipart_upload_service: Arc<MultipartUploadService>§conversion_service: Arc<ConversionService>§cdn_service: Arc<CdnService>§video_thumbnail_service: Arc<VideoThumbnailService>§document_preview_service: Arc<DocumentPreviewService>§storage: Option<Arc<dyn ObjectStorage>>Storage backend (mode-B serving + uploads). None until .with_storage() is called.
bucket_config: Option<Arc<BucketConfig>>Bucket-module config (storage + serving). None until .with_config() is called.
file_service: Option<Arc<FileService>>High-level file operations service, wired when both storage and bucket_config are set.
stored_file_repository: Arc<StoredFileRepository>Direct handle to the StoredFile repository — used by the mode-B
serving handler to look up files by storage_key.
Auto Trait Implementations§
impl !RefUnwindSafe for ModuleExt
impl !UnwindSafe for ModuleExt
impl Freeze for ModuleExt
impl Send for ModuleExt
impl Sync for ModuleExt
impl Unpin for ModuleExt
impl UnsafeUnpin for ModuleExt
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.