Trait profile_follows_rpc::ProfileFollowsApi[][src]

pub trait ProfileFollowsApi<BlockHash, AccountId>: Sized + Send + Sync + 'static {
    fn filter_followed_accounts(
        &self,
        at: Option<BlockHash>,
        account: AccountId,
        maybe_following: Vec<AccountId>
    ) -> Result<Vec<AccountId>>; fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
    where
        BlockHash: Send + Sync + 'static + DeserializeOwned,
        AccountId: Send + Sync + 'static + Serialize + DeserializeOwned
, { ... } }

Required methods

fn filter_followed_accounts(
    &self,
    at: Option<BlockHash>,
    account: AccountId,
    maybe_following: Vec<AccountId>
) -> Result<Vec<AccountId>>
[src]

Loading content...

Provided methods

fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> where
    BlockHash: Send + Sync + 'static + DeserializeOwned,
    AccountId: Send + Sync + 'static + Serialize + DeserializeOwned
[src]

Create an IoDelegate, wiring rpc calls to the trait methods.

Loading content...

Implementors

impl<C, Block, AccountId> ProfileFollowsApi<<Block as Block>::Hash, AccountId> for ProfileFollows<C, Block> where
    Block: BlockT,
    AccountId: Codec,
    C: Send + Sync + 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
    C::Api: ProfileFollowsRuntimeApi<Block, AccountId>, 
[src]

Loading content...