pub struct SmartModuleSpec {
pub input_kind: SmartModuleInputKind,
pub output_kind: SmartModuleOutputKind,
pub source_code: Option<SmartModuleSourceCode>,
pub wasm: SmartModuleWasm,
pub parameters: Option<Vec<SmartModuleParameter>>,
}
Fields
input_kind: SmartModuleInputKind
output_kind: SmartModuleOutputKind
source_code: Option<SmartModuleSourceCode>
wasm: SmartModuleWasm
parameters: Option<Vec<SmartModuleParameter>>
Trait Implementations
sourceimpl Clone for SmartModuleSpec
impl Clone for SmartModuleSpec
sourcefn clone(&self) -> SmartModuleSpec
fn clone(&self) -> SmartModuleSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SmartModuleSpec
impl Debug for SmartModuleSpec
sourceimpl Decoder for SmartModuleSpec
impl Decoder for SmartModuleSpec
sourceimpl Default for SmartModuleSpec
impl Default for SmartModuleSpec
sourcefn default() -> SmartModuleSpec
fn default() -> SmartModuleSpec
Returns the “default value” for a type. Read more
sourceimpl Display for SmartModuleSpec
impl Display for SmartModuleSpec
sourceimpl Encoder for SmartModuleSpec
impl Encoder for SmartModuleSpec
sourceimpl PartialEq<SmartModuleSpec> for SmartModuleSpec
impl PartialEq<SmartModuleSpec> for SmartModuleSpec
sourcefn eq(&self, other: &SmartModuleSpec) -> bool
fn eq(&self, other: &SmartModuleSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SmartModuleSpec) -> bool
fn ne(&self, other: &SmartModuleSpec) -> bool
This method tests for !=
.
sourceimpl Removable for SmartModuleSpec
impl Removable for SmartModuleSpec
sourceimpl Spec for SmartModuleSpec
impl Spec for SmartModuleSpec
const LABEL: &'static str = "SmartModule"
type IndexKey = String
type Status = SmartModuleStatus
type Owner = SmartModuleSpec
sourceimpl SpecExt for SmartModuleSpec
impl SpecExt for SmartModuleSpec
const OBJECT_TYPE: ObjectType = ObjectType::SmartModule
impl Creatable for SmartModuleSpec
impl StructuralPartialEq for SmartModuleSpec
Auto Trait Implementations
impl RefUnwindSafe for SmartModuleSpec
impl Send for SmartModuleSpec
impl Sync for SmartModuleSpec
impl Unpin for SmartModuleSpec
impl UnwindSafe for SmartModuleSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more