pub struct PluginImplementation { /* private fields */ }Expand description
Exact runtime selection used to execute one Plugin Contract.
Implementations§
Source§impl PluginImplementation
impl PluginImplementation
pub fn new( runtime_package_id: impl Into<String>, runtime_package_revision: impl Into<String>, entrypoint: impl Into<String>, execution_class: ExecutionClassId, ) -> Self
pub fn runtime_package_id(&self) -> &str
pub fn with_runtime_profile(self, profile: impl Into<String>) -> Self
pub fn runtime_profile(&self) -> &str
pub fn runtime_package_revision(&self) -> &str
pub fn entrypoint(&self) -> &str
pub const fn execution_class(&self) -> &ExecutionClassId
Trait Implementations§
Source§impl Clone for PluginImplementation
impl Clone for PluginImplementation
Source§fn clone(&self) -> PluginImplementation
fn clone(&self) -> PluginImplementation
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 PluginImplementation
impl Debug for PluginImplementation
Source§impl<'de> Deserialize<'de> for PluginImplementation
impl<'de> Deserialize<'de> for PluginImplementation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginImplementation
Source§impl PartialEq for PluginImplementation
impl PartialEq for PluginImplementation
Source§impl Serialize for PluginImplementation
impl Serialize for PluginImplementation
impl StructuralPartialEq for PluginImplementation
Auto Trait Implementations§
impl Freeze for PluginImplementation
impl RefUnwindSafe for PluginImplementation
impl Send for PluginImplementation
impl Sync for PluginImplementation
impl Unpin for PluginImplementation
impl UnsafeUnpin for PluginImplementation
impl UnwindSafe for PluginImplementation
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