Crate portal_sdk

Source
Expand description

Other Resources

Re-exports§

pub use hdk_extensions::hdi;
pub use hdk_extensions::holo_hash;
pub use hdk_extensions::hdk;
pub use hdk_extensions::hdi_extensions;
pub use hdk_extensions;
pub use rmpv;
pub use hc_crud;
pub use portal_types;

Macros§

call_local_cell
Call a local cell zome function
call_local_cell_decode
Call a local cell zome function and decode the response
register
Register a list of zome/functions in a locally running portal cell
register_if_exists
Same as register! but will fail silently if the portal cell is not present

Structs§

CustomRemoteCallInput
Input required for a remote call to a specific host
DnaZomeFunction
Properties required for selecting a viable host
ListedFunctions
Define a list of zome function pairs
RegisterHostInput
Define a list of zome function pairs for a specific DNA
RegisterInput
Input required for macros register and register_if_exists
RemoteCallDetails
Fields required for making a zome call

Functions§

path
Path creation helper
zome_call_response_as_result
Translate ZomeCallResponse into a Result

Type Aliases§

Payload
A type for de/serializing any data
RemoteCallInput
Input required for a remote call
ZomeFunction
Define a zome function pair