Module holochain_integrity_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
Newtype for the bytes comprising an App entry
Zome input for must_get_action.
Zome input for must_get_entry.
Zome input for must_get_valid_record.
Enums
Structure holding the entry portion of a chain record.
Errors involving app entry creation
Constants
Entries larger than this number of bytes cannot be created
Traits
Helper trait for deserializing
Entry
s to the correct type.Functions
Helpful pattern for debug formatting many bytes.
If the size is > 32 bytes, only the first 8 and last 8 bytes will be displayed.
Type Definitions
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 themAn Entry paired with its EntryHash