Types required by all but the most trivial zomes. This can greatly simplify imports for the majority of developers by simply adding use hdk::prelude::*;
AgentId represents an agent in the Holochain framework. This data struct is meant be stored in the CAS and source-chain. Its key is the public signing key, and is also used as its address.
Structure used to specify additional options to a commit_entry_result call.
Structure that holds a whole crud status history if the status request in the GetEntryOptions was set to StatusRequestKind::All
Structure used to specify what should be returned to a call to get_entry_result() The default is to return the latest entry.
track json serialization with the rust type system!
JsonString wraps a string containing JSON serialized data
avoid accidental double-serialization or forgetting to serialize
serialize any type consistently including hard-to-reach places like Option
Structure holding actual data in a source chain "Item" data is stored as a JsonString
This struct carries information needed for Validating Entry Data, It is passed between callbacks and allows the user to validate using each supplied variant.
TODO rename to CoreErrorKind Enum holding all Holochain Core errors
This struct carries information needed for Validating Link Data, It is passed between callbacks and allows the user to validate using each supplied variant.
Enum for Zome EntryType "sharing" property.
can be stored as serialized content the content is the address, there is no "location" like a file system or URL @see https://en.wikipedia.org/wiki/Content-addressable_storage
an Address for some Content ideally would be the Content but pragmatically must be Address consider what would happen if we had multi GB addresses...