pub struct SmartModuleSpec {
pub meta: Option<SmartModuleMetadata>,
pub summary: Option<SmartModuleWasmSummary>,
pub wasm: SmartModuleWasm,
}
Fields§
§meta: Option<SmartModuleMetadata>
§summary: Option<SmartModuleWasmSummary>
§wasm: SmartModuleWasm
Implementations§
Trait Implementations§
source§impl Clone for SmartModuleSpec
impl Clone for SmartModuleSpec
source§fn clone(&self) -> SmartModuleSpec
fn clone(&self) -> SmartModuleSpec
Returns a copy of the value. Read more
1.0.0 · 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 SmartModuleSpec
impl Debug for SmartModuleSpec
source§impl Decoder for SmartModuleSpec
impl Decoder for SmartModuleSpec
source§impl Default for SmartModuleSpec
impl Default for SmartModuleSpec
source§fn default() -> SmartModuleSpec
fn default() -> SmartModuleSpec
Returns the “default value” for a type. Read more
source§impl Encoder for SmartModuleSpec
impl Encoder for SmartModuleSpec
source§impl PartialEq for SmartModuleSpec
impl PartialEq for SmartModuleSpec
source§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 ==
.source§impl Spec for SmartModuleSpec
impl Spec for SmartModuleSpec
source§impl SpecExt for SmartModuleSpec
impl SpecExt for SmartModuleSpec
const OBJECT_TYPE: ObjectType = ObjectType::SmartModule
impl Creatable for SmartModuleSpec
impl Eq for SmartModuleSpec
impl StructuralPartialEq for SmartModuleSpec
Auto Trait Implementations§
impl !Freeze for SmartModuleSpec
impl RefUnwindSafe for SmartModuleSpec
impl Send for SmartModuleSpec
impl Sync for SmartModuleSpec
impl Unpin for SmartModuleSpec
impl UnwindSafe for SmartModuleSpec
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<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.