pub struct Manifest {
pub manifest_version: u32,
pub package: Package,
pub build: String,
pub start: String,
pub stop: String,
pub capabilities: Vec<CapabilityRef>,
pub depends: Vec<DependsRef>,
pub is_legacy: bool,
}Fields§
§manifest_version: u32§package: Package§build: String§start: String§stop: String§capabilities: Vec<CapabilityRef>§depends: Vec<DependsRef>§is_legacy: boolTrue iff the manifest was parsed from legacy fields (id/nodes/build.script).
rbnx prints a deprecation warning in this case.
Implementations§
Source§impl Manifest
impl Manifest
Sourcepub fn explicit_lifecycle_driver_contract(&self) -> Result<Option<&str>>
pub fn explicit_lifecycle_driver_contract(&self) -> Result<Option<&str>>
Return the Driver written in capabilities:, if any.
Sourcepub fn selected_lifecycle_driver_contract(&self) -> Result<&str>
pub fn selected_lifecycle_driver_contract(&self) -> Result<&str>
Resolve the lifecycle contract selected by this package manifest.
Omission selects the shared Driver so every current provider has a managed lifecycle. An explicitly declared legacy namespace Driver is preserved exactly. Runtime launchers may select the exact legacy namespace Driver when an older generated package lacks the shared binding; if neither binding exists, startup fails.
pub fn validate_and_summarize(&self) -> Result<PackageSummary>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].