holochain_zome_types/capability/
grant.rs

1use super::*;
2use holochain_serialized_bytes::SerializedBytes;
3use std::collections::BTreeMap;
4
5/// Map of zome functions to the payloads to curry into to them
6// @todo Ability to forcibly curry payloads into functions that are called with a claim.
7#[derive(Default, PartialEq, Eq, Debug, Clone, serde::Serialize, serde::Deserialize)]
8pub struct CurryPayloads(pub BTreeMap<GrantedFunction, SerializedBytes>);