pub struct SystemRepositories {
pub system_store: Arc<SystemMetadataStore>,
pub tenant_repository: Arc<EventSourcedTenantRepository>,
pub audit_repository: Arc<EventSourcedAuditRepository>,
pub config_repository: Arc<EventSourcedConfigRepository>,
pub auth_repository: Arc<EventSourcedAuthRepository>,
pub consumer_registry: Arc<ConsumerRegistry>,
}Expand description
Holds all event-sourced repositories for system metadata.
This is the result of a successful system bootstrap. All repositories
share a single SystemMetadataStore for storage, ensuring atomic
write-ahead logging and coordinated recovery.
Fields§
§system_store: Arc<SystemMetadataStore>The underlying durable store
tenant_repository: Arc<EventSourcedTenantRepository>Event-sourced tenant repository
audit_repository: Arc<EventSourcedAuditRepository>Event-sourced audit repository
config_repository: Arc<EventSourcedConfigRepository>Event-sourced config repository
auth_repository: Arc<EventSourcedAuthRepository>Event-sourced auth repository (API keys)
consumer_registry: Arc<ConsumerRegistry>Durable consumer registry for subscription cursor tracking
Auto Trait Implementations§
impl Freeze for SystemRepositories
impl !RefUnwindSafe for SystemRepositories
impl Send for SystemRepositories
impl Sync for SystemRepositories
impl Unpin for SystemRepositories
impl UnsafeUnpin for SystemRepositories
impl !UnwindSafe for SystemRepositories
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