pub struct SystemRepositories {
pub system_store: Arc<SystemMetadataStore>,
pub tenant_repository: Arc<EventSourcedTenantRepository>,
pub audit_repository: Arc<EventSourcedAuditRepository>,
pub config_repository: Arc<EventSourcedConfigRepository>,
}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
Auto Trait Implementations§
impl Freeze for SystemRepositories
impl !RefUnwindSafe for SystemRepositories
impl Send for SystemRepositories
impl Sync for SystemRepositories
impl Unpin 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
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 more