Type Alias holochain_types::prelude::DnaInfo

pub type DnaInfo = DnaInfoV2;
Expand description

Convenience alias to the latest DnaInfoN.

Aliased Type§

struct DnaInfo {
    pub name: String,
    pub hash: HoloHash<Dna>,
    pub modifiers: DnaModifiers,
    pub zome_names: Vec<ZomeName, Global>,
}

Fields§

§name: String

The name of this DNA.

§hash: HoloHash<Dna>

The hash of this DNA.

§modifiers: DnaModifiers

The modifiers for this DNA.

§zome_names: Vec<ZomeName, Global>

The zomes in this DNA.

Trait Implementations§

§

impl Debug for DnaInfoV2

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for DnaInfoV2

§

fn deserialize<__D>( __deserializer: __D ) -> Result<DnaInfoV2, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Serialize for DnaInfoV2

§

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