Trait roles_rpc::RolesRuntimeApi[][src]

pub trait RolesRuntimeApi<Block, AccountId>: Core<Block> where
    Block: Block,
    AccountId: Codec
{ pub fn get_space_permissions_by_account(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        account: AccountId,
        space_id: u64
    ) -> Result<Vec<SpacePermission, Global>, Self::Error> { ... }
pub fn get_space_permissions_by_account_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        account: AccountId,
        space_id: u64
    ) -> Result<Vec<SpacePermission, Global>, Self::Error> { ... }
pub fn get_accounts_with_any_role_in_space(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        space_id: u64
    ) -> Result<Vec<AccountId, Global>, Self::Error> { ... }
pub fn get_accounts_with_any_role_in_space_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        space_id: u64
    ) -> Result<Vec<AccountId, Global>, Self::Error> { ... }
pub fn get_space_ids_for_account_with_any_role(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        account_id: AccountId
    ) -> Result<Vec<u64, Global>, Self::Error> { ... }
pub fn get_space_ids_for_account_with_any_role_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        account_id: AccountId
    ) -> Result<Vec<u64, Global>, Self::Error> { ... } }

Provided methods

pub fn get_space_permissions_by_account(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    account: AccountId,
    space_id: u64
) -> Result<Vec<SpacePermission, Global>, Self::Error>
[src]

pub fn get_space_permissions_by_account_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    account: AccountId,
    space_id: u64
) -> Result<Vec<SpacePermission, Global>, Self::Error>
[src]

pub fn get_accounts_with_any_role_in_space(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    space_id: u64
) -> Result<Vec<AccountId, Global>, Self::Error>
[src]

pub fn get_accounts_with_any_role_in_space_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    space_id: u64
) -> Result<Vec<AccountId, Global>, Self::Error>
[src]

pub fn get_space_ids_for_account_with_any_role(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    account_id: AccountId
) -> Result<Vec<u64, Global>, Self::Error>
[src]

pub fn get_space_ids_for_account_with_any_role_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    account_id: AccountId
) -> Result<Vec<u64, Global>, Self::Error>
[src]

Loading content...

Trait Implementations

impl<Block, AccountId, __Sr_Api_Error__> RuntimeApiInfo for dyn RolesApi<Block, AccountId, Error = __Sr_Api_Error__> + 'static where
    Block: Block
[src]

Implementors

Loading content...