pub trait PrivateDataQuery {
    type Hash;

    fn with_private_data_access(
        hash: Self::Hash,
        author: Arc<AgentPubKey>
    ) -> Self; fn without_private_data_access(hash: Self::Hash) -> Self; }
Expand description

Queries that can have access to private data will implement this trait.

Required Associated Types

Required Methods

Construct the query with access to private data for this agent.

Construct the query without access to private data.

Implementors