pub struct AdminModuleMetadata {Show 15 fields
pub module_name: String,
pub source: ModuleSource,
pub load_status: ModuleLoadStatus,
pub http_routes: Vec<ModuleHttpRoute>,
pub runtime: Option<RuntimeSurface>,
pub events: Option<EventSurface>,
pub lifecycle: Option<LifecycleSurface>,
pub console: Vec<ConsoleSurface>,
pub console_slots: Vec<ConsoleSlot>,
pub console_contributions: Vec<ConsoleContribution>,
pub story_display: Vec<StoryDisplayDescriptor>,
pub capabilities: Vec<String>,
pub dependencies: Vec<String>,
pub admin: Option<AdminSurface>,
pub source_diagnostics: Option<AdminModuleSourceDiagnostics>,
}Expand description
One module’s registry metadata, independent of whether schema-admin list/detail reads or an admin surface are available.
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.
http_routes: Vec<ModuleHttpRoute>Declared module-owned HTTP routes. Metadata only; not mounted by platform-admin-data.
runtime: Option<RuntimeSurface>Declared runtime functions. Metadata only; runtime registration belongs to the source-specific binding and worker composition.
events: Option<EventSurface>Declared event handlers. Metadata only; event dispatch registration belongs to the source-specific binding and worker composition.
lifecycle: Option<LifecycleSurface>Declared lifecycle checks and activation jobs. Metadata only; worker startup owns validation and enqueueing.
console: Vec<ConsoleSurface>Declared trusted Runtime Console frontend surfaces.
console_slots: Vec<ConsoleSlot>Declared Runtime Console extension slots.
console_contributions: Vec<ConsoleContribution>Declared Runtime Console slot contributions.
story_display: Vec<StoryDisplayDescriptor>Declared story-display mappings for runtime story titles and node labels.
capabilities: Vec<String>Declared capability strings owned by the module.
dependencies: Vec<String>Declared module dependencies.
admin: Option<AdminSurface>The declared admin surface. Missing for modules with no admin surface and degraded failed remotes whose manifest could not be loaded.
source_diagnostics: Option<AdminModuleSourceDiagnostics>Source-level diagnostics known to the host. Remote modules include endpoint and load metadata; linked modules usually leave this empty.
Trait Implementations§
Source§impl Clone for AdminModuleMetadata
impl Clone for AdminModuleMetadata
Source§fn clone(&self) -> AdminModuleMetadata
fn clone(&self) -> AdminModuleMetadata
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 Freeze for AdminModuleMetadata
impl RefUnwindSafe for AdminModuleMetadata
impl Send for AdminModuleMetadata
impl Sync for AdminModuleMetadata
impl Unpin for AdminModuleMetadata
impl UnsafeUnpin for AdminModuleMetadata
impl UnwindSafe for AdminModuleMetadata
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