Trait roles_rpc::RolesApi [−][src]
Required methods
fn get_space_permissions_by_account(
    &self, 
    at: Option<BlockHash>, 
    account: AccountId, 
    space_id: SpaceId
) -> Result<Vec<SpacePermission>>[src]
&self,
at: Option<BlockHash>,
account: AccountId,
space_id: SpaceId
) -> Result<Vec<SpacePermission>>
fn get_accounts_with_any_role_in_space(
    &self, 
    at: Option<BlockHash>, 
    space_id: SpaceId
) -> Result<Vec<AccountId>>[src]
&self,
at: Option<BlockHash>,
space_id: SpaceId
) -> Result<Vec<AccountId>>
fn get_space_ids_for_account_with_any_role(
    &self, 
    at: Option<BlockHash>, 
    account_id: AccountId
) -> Result<Vec<SpaceId>>[src]
&self,
at: Option<BlockHash>,
account_id: AccountId
) -> Result<Vec<SpaceId>>
Provided methods
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> where
    BlockHash: Send + Sync + 'static + DeserializeOwned,
    AccountId: Send + Sync + 'static + Serialize + DeserializeOwned, [src]
BlockHash: Send + Sync + 'static + DeserializeOwned,
AccountId: Send + Sync + 'static + Serialize + DeserializeOwned,
Create an IoDelegate, wiring rpc calls to the trait methods.
Implementors
impl<C, Block, AccountId> RolesApi<<Block as Block>::Hash, AccountId> for Roles<C, Block> where
    Block: BlockT,
    AccountId: Codec,
    C: Send + Sync + 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
    C::Api: RolesRuntimeApi<Block, AccountId>, [src]
Block: BlockT,
AccountId: Codec,
C: Send + Sync + 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
C::Api: RolesRuntimeApi<Block, AccountId>,
fn get_space_permissions_by_account(
    &self, 
    at: Option<<Block as BlockT>::Hash>, 
    account: AccountId, 
    space_id: SpaceId
) -> Result<Vec<SpacePermission>>[src]
&self,
at: Option<<Block as BlockT>::Hash>,
account: AccountId,
space_id: SpaceId
) -> Result<Vec<SpacePermission>>
fn get_accounts_with_any_role_in_space(
    &self, 
    at: Option<<Block as BlockT>::Hash>, 
    space_id: SpaceId
) -> Result<Vec<AccountId>>[src]
&self,
at: Option<<Block as BlockT>::Hash>,
space_id: SpaceId
) -> Result<Vec<AccountId>>
fn get_space_ids_for_account_with_any_role(
    &self, 
    at: Option<<Block as BlockT>::Hash>, 
    account_id: AccountId
) -> Result<Vec<SpaceId>>[src]
&self,
at: Option<<Block as BlockT>::Hash>,
account_id: AccountId
) -> Result<Vec<SpaceId>>