pub type IntegrityZome = Zome<IntegrityZomeDef>;

Aliased Type§

struct IntegrityZome {
    pub name: ZomeName,
    pub def: IntegrityZomeDef,
}

Fields§

§name: ZomeName§def: IntegrityZomeDef

Implementations§

source§

impl IntegrityZome

source

pub fn erase_type(self) -> Zome

Erase the type of Zome because you no longer need to know if this is an integrity or coordinator def.

Trait Implementations§

source§

impl From<(ZomeName, IntegrityZomeDef)> for IntegrityZome

source§

fn from(pair: (ZomeName, IntegrityZomeDef)) -> Self

Converts to this type from the input type.