Struct ark_api::behavior_controller::BehaviorModuleMeta
source · pub struct BehaviorModuleMeta {
pub name: String,
pub id: BehaviorModuleId,
pub behavior_metas: Vec<BehaviorMeta, Global>,
}Expand description
Metadata of a behavior module
Fields§
§name: StringThe name of the behavior module
id: BehaviorModuleIdThe ModuleDescCid of the module that implements the behavior(s)
behavior_metas: Vec<BehaviorMeta, Global>A list of behavior metadata for each behavior in the behavior module
Trait Implementations§
source§impl Clone for BehaviorModuleMeta
impl Clone for BehaviorModuleMeta
source§fn clone(&self) -> BehaviorModuleMeta
fn clone(&self) -> BehaviorModuleMeta
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 BehaviorModuleMeta
impl Debug for BehaviorModuleMeta
source§impl<'de> Deserialize<'de> for BehaviorModuleMeta
impl<'de> Deserialize<'de> for BehaviorModuleMeta
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BehaviorModuleMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<BehaviorModuleMeta, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for BehaviorModuleMeta
impl Hash for BehaviorModuleMeta
source§impl PartialEq<BehaviorModuleMeta> for BehaviorModuleMeta
impl PartialEq<BehaviorModuleMeta> for BehaviorModuleMeta
source§fn eq(&self, other: &BehaviorModuleMeta) -> bool
fn eq(&self, other: &BehaviorModuleMeta) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BehaviorModuleMeta
impl Serialize for BehaviorModuleMeta
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