pub struct AdminModule {
pub module_name: String,
pub source: ModuleSource,
pub load_status: ModuleLoadStatus,
pub schema: AdminSchema,
pub admin: Option<AdminSurface>,
pub listed_in_schema: bool,
pub data_source: Option<Arc<dyn AdminDataSource>>,
pub action_source: Option<Arc<dyn AdminActionSource>>,
pub query_source: Option<Arc<dyn AdminQuerySource>>,
}Expand description
One module’s admin capability: its declared surface plus live data/action sources.
Fields§
§module_name: StringThe owning module’s stable name, e.g. “identity”.
source: ModuleSourceThe loading source that produced this module.
load_status: ModuleLoadStatusCurrent load state. The first remote slice only installs loaded modules; error entries are reserved for degraded loading in a later slice.
schema: AdminSchemaThe module’s schema-admin surface or custom surface fallback schema.
admin: Option<AdminSurface>The full declared admin surface, retained for action validation.
listed_in_schema: boolWhether this module should appear in the generic schema-admin discovery endpoint. Declarative custom surfaces may still be readable through fallback schema entities without being advertised as plain schema-admin.
data_source: Option<Arc<dyn AdminDataSource>>Live read access to the module’s records. Missing for degraded modules whose manifest/data source failed to load.
action_source: Option<Arc<dyn AdminActionSource>>Live behavior for manifest-declared admin actions.
query_source: Option<Arc<dyn AdminQuerySource>>Live behavior for manifest-declared read-only queries.
Trait Implementations§
Source§impl Clone for AdminModule
impl Clone for AdminModule
Source§fn clone(&self) -> AdminModule
fn clone(&self) -> AdminModule
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AdminModule
impl !UnwindSafe for AdminModule
impl Freeze for AdminModule
impl Send for AdminModule
impl Sync for AdminModule
impl Unpin for AdminModule
impl UnsafeUnpin for AdminModule
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request