pub struct SmartModuleSpec {
pub input_kind: SmartModuleInputKind,
pub output_kind: SmartModuleOutputKind,
pub source_code: Option<SmartModuleSourceCode>,
pub wasm: SmartModuleWasm,
pub parameters: Option<Vec<SmartModuleParameter, Global>>,
}Fields
input_kind: SmartModuleInputKindoutput_kind: SmartModuleOutputKindsource_code: Option<SmartModuleSourceCode>wasm: SmartModuleWasmparameters: Option<Vec<SmartModuleParameter, Global>>Trait Implementations
impl AdminSpec for SmartModuleSpec
impl AdminSpec for SmartModuleSpec
type ListFilter = String
type WatchResponseType = SmartModuleSpec
type ListType = Metadata<SmartModuleSpec>
fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Self::ListType where
C: MetadataItem,
Self::ListType: From<MetadataStoreObject<Self, C>>,
fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Self::ListType where
C: MetadataItem,
Self::ListType: From<MetadataStoreObject<Self, C>>,
convert metadata object to list type object
impl Clone for SmartModuleSpec
impl Clone for SmartModuleSpec
fn 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
impl CreatableAdminSpec for SmartModuleSpec
impl CreatableAdminSpec for SmartModuleSpec
const CREATE_TYPE: u8 = 4u8
impl Debug for SmartModuleSpec
impl Debug for SmartModuleSpec
impl Decoder for SmartModuleSpec
impl Decoder for SmartModuleSpec
impl Default for SmartModuleSpec
impl Default for SmartModuleSpec
fn default() -> SmartModuleSpec
fn default() -> SmartModuleSpec
Returns the “default value” for a type. Read more
impl DeletableAdminSpec for SmartModuleSpec
impl DeletableAdminSpec for SmartModuleSpec
impl Display for SmartModuleSpec
impl Display for SmartModuleSpec
impl Encoder for SmartModuleSpec
impl Encoder for SmartModuleSpec
impl PartialEq<SmartModuleSpec> for SmartModuleSpec
impl PartialEq<SmartModuleSpec> for SmartModuleSpec
fn 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
impl Removable for SmartModuleSpec
impl Removable for SmartModuleSpec
impl Spec for SmartModuleSpec
impl Spec for SmartModuleSpec
impl 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>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
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