Struct holochain_zome_types::info::ZomeInfo
source · [−]pub struct ZomeInfo {
pub name: ZomeName,
pub id: ZomeId,
pub properties: SerializedBytes,
pub entry_defs: EntryDefs,
pub extern_fns: Vec<FunctionName>,
}
Expand description
The properties of the current dna/zome being called.
Fields
name: ZomeName
id: ZomeId
The position of this zome in the dna.json
properties: SerializedBytes
entry_defs: EntryDefs
extern_fns: Vec<FunctionName>
Implementations
pub fn new(
name: ZomeName,
id: ZomeId,
properties: SerializedBytes,
entry_defs: EntryDefs,
extern_fns: Vec<FunctionName>
) -> Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ZomeInfo
impl UnwindSafe for ZomeInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more