Module holochain_zome_types::entry

source ·
Expand description

An Entry is a unit of data in a Holochain Source Chain.

This module contains all the necessary definitions for Entry, which broadly speaking refers to any data which will be written into the ContentAddressableStorage, or the EntityAttributeValueStorage. It defines serialization behaviour for entries. Here you can find the complete list of entry_types, and special entries, like deletion_entry and cap_entry.

Structs§

Enums§

  • Structure holding the entry portion of a chain record.
  • Either an EntryDefIndex or one of:
  • Errors involving app entry creation
  • Describes the get call and what information the caller is concerned about. This helps the subconscious avoid unnecessary network calls.

Constants§

Traits§

Functions§

Type Aliases§

  • The data type written to the source chain to denote a capability claim
  • The data type written to the source chain when explicitly granting a capability. NB: this is not simply CapGrant, because the CapGrant::ChainAuthor grant is already implied by Entry::Agent, so that should not be committed to a chain. This is a type alias because if we add other capability types in the future, we may want to include them
  • An Entry paired with its EntryHash