holochain_zome_types 0.0.15

Holochain zome types
Documentation
use crate::header::ZomeId;
use crate::zome::ZomeName;
use holo_hash::DnaHash;
use holochain_serialized_bytes::prelude::*;

/// The properties of the current dna/zome being called.
#[allow(missing_docs)]
#[derive(Clone, Debug, Serialize, Deserialize, SerializedBytes, PartialEq)]
pub struct ZomeInfo {
    pub dna_name: String,
    pub dna_hash: DnaHash,
    pub zome_name: ZomeName,
    /// The position of this zome in the `dna.yaml`
    pub zome_id: ZomeId,
    pub properties: SerializedBytes,
}