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

Data to create an entry.

Zome IO inner for delete.

Zome IO for get and get_details calls.

Options for controlling how get works

Zome IO for must_get_entry.

Zome IO for must_get_header.

Zome IO for must_get_valid_element.

Zome IO inner for update.

Enums

Structure holding the entry portion of a chain element.

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

Entries larger than this number of bytes cannot be created

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 them

An Entry paired with its EntryHash