pub struct ProductMount { /* private fields */ }Expand description
High-level SDK builder for mounted apps.
Implementations§
Source§impl ProductMount
impl ProductMount
Sourcepub fn new(raw_namespace: &str) -> Result<Self, String>
pub fn new(raw_namespace: &str) -> Result<Self, String>
Start a new mounted-app contract builder.
pub fn display_name(self, value: impl Into<String>) -> Self
pub fn alias(self, value: impl Into<String>) -> Self
pub fn summary(self, value: impl Into<String>) -> Self
pub fn version(self, value: impl Into<String>) -> Self
pub fn capability(self, value: impl Into<String>) -> Self
pub fn feature_capabilities(self, value: FeatureCapabilityDeclaration) -> Self
pub fn compatibility(self, value: SdkCompatibilityWindow) -> Self
pub fn binary(self, command: impl Into<String>) -> Self
pub fn python_module(self, module: impl Into<String>) -> Self
pub fn python_callable( self, module: impl Into<String>, function: impl Into<String>, ) -> Self
pub fn python_console_script(self, command: impl Into<String>) -> Self
pub fn plugin_process(self, command: impl Into<String>) -> Self
pub fn embedded_rust(self, symbol: impl Into<String>) -> Self
pub fn control_binary(self, command: impl Into<String>) -> Self
pub fn control_python_module(self, module: impl Into<String>) -> Self
pub fn control_python_callable( self, module: impl Into<String>, function: impl Into<String>, ) -> Self
pub fn control_python_console_script(self, command: impl Into<String>) -> Self
pub fn control_plugin_process(self, command: impl Into<String>) -> Self
pub fn control_embedded_rust(self, symbol: impl Into<String>) -> Self
pub fn namespace(&self) -> &Namespace
pub fn matches_query(&self, query: &str) -> bool
Sourcepub fn build_descriptor(&self) -> Result<ProductMountDescriptor, String>
pub fn build_descriptor(&self) -> Result<ProductMountDescriptor, String>
Build the validated product-mount descriptor consumed by the root runtime.
Sourcepub fn manifest_json(&self) -> Result<String, String>
pub fn manifest_json(&self) -> Result<String, String>
Render the validated product-mount descriptor as canonical JSON.
Sourcepub fn metadata(&self) -> Result<BijuxAppMetadata, String>
pub fn metadata(&self) -> Result<BijuxAppMetadata, String>
Materialize metadata suitable for app-author tooling and docs.
Sourcepub fn compatibility_report(
&self,
) -> Result<Option<SdkCompatibilityReport>, String>
pub fn compatibility_report( &self, ) -> Result<Option<SdkCompatibilityReport>, String>
Check whether this app is compatible with the current host runtime.
Trait Implementations§
Source§impl Clone for ProductMount
impl Clone for ProductMount
Source§fn clone(&self) -> ProductMount
fn clone(&self) -> ProductMount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProductMount
impl Debug for ProductMount
impl Eq for ProductMount
Source§impl PartialEq for ProductMount
impl PartialEq for ProductMount
impl StructuralPartialEq for ProductMount
Auto Trait Implementations§
impl Freeze for ProductMount
impl RefUnwindSafe for ProductMount
impl Send for ProductMount
impl Sync for ProductMount
impl Unpin for ProductMount
impl UnsafeUnpin for ProductMount
impl UnwindSafe for ProductMount
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.