pub struct SmartModuleSpec {
pub meta: Option<SmartModuleMetadata>,
pub summary: Option<SmartModuleWasmSummary>,
pub wasm: SmartModuleWasm,
}Fields§
§meta: Option<SmartModuleMetadata>§summary: Option<SmartModuleWasmSummary>§wasm: SmartModuleWasmImplementations§
Trait Implementations§
Source§impl AdminSpec for SmartModuleSpec
impl AdminSpec for SmartModuleSpec
Source§fn convert_from<C: MetadataItem>(
obj: &MetadataStoreObject<Self, C>,
) -> Metadata<Self>
fn convert_from<C: MetadataItem>( obj: &MetadataStoreObject<Self, C>, ) -> Metadata<Self>
convert metadata object to list type object
Source§impl Clone for SmartModuleSpec
impl Clone for SmartModuleSpec
Source§fn clone(&self) -> SmartModuleSpec
fn clone(&self) -> SmartModuleSpec
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 moreimpl Creatable for SmartModuleSpec
impl CreatableAdminSpec for SmartModuleSpec
Source§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 DeletableAdminSpec for SmartModuleSpec
impl DeletableAdminSpec for SmartModuleSpec
Source§impl<'de> Deserialize<'de> for SmartModuleSpec
impl<'de> Deserialize<'de> for SmartModuleSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SmartModuleSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SmartModuleSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encoder for SmartModuleSpec
impl Encoder for SmartModuleSpec
impl Eq for SmartModuleSpec
Source§impl From<SmartModuleSpecV1> for SmartModuleSpec
impl From<SmartModuleSpecV1> for SmartModuleSpec
Source§fn from(v1: SmartModuleSpecV1) -> SmartModuleSpec
fn from(v1: SmartModuleSpecV1) -> SmartModuleSpec
Converts to this type from the input type.
Source§impl K8ExtendedSpec for SmartModuleSpec
impl K8ExtendedSpec for SmartModuleSpec
type K8Spec = SmartModuleSpec
fn convert_from_k8( k8_obj: K8Obj<<SmartModuleSpec as K8ExtendedSpec>::K8Spec>, multi_namespace_context: bool, ) -> Result<MetadataStoreObject<SmartModuleSpec, K8MetaItem>, K8ConvertError<<SmartModuleSpec as K8ExtendedSpec>::K8Spec>>
fn convert_status_from_k8( status: <SmartModuleSpec as Spec>::Status, ) -> <SmartModuleSpec as Spec>::Status
fn into_k8(self) -> <SmartModuleSpec as K8ExtendedSpec>::K8Spec
const DELETE_WAIT_DEPENDENTS: bool = false
const FINALIZER: Option<&'static str> = None
Source§impl PartialEq for SmartModuleSpec
impl PartialEq for SmartModuleSpec
Source§impl Serialize for SmartModuleSpec
impl Serialize for SmartModuleSpec
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl Spec for SmartModuleSpec
impl Spec for SmartModuleSpec
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 StructuralPartialEq for SmartModuleSpec
Source§impl UpdatableAdminSpec for SmartModuleSpec
impl UpdatableAdminSpec 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 UnsafeUnpin for SmartModuleSpec
impl UnwindSafe for SmartModuleSpec
Blanket Implementations§
impl<T> AsyncConnector for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.