Trait spaces_runtime_api::SpacesApi[][src]

pub trait SpacesApi<Block: BlockT, AccountId, BlockNumber>: Core<Block> where
    AccountId: Codec,
    BlockNumber: Codec
{ fn get_next_space_id(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<SpaceId, Self::Error> { ... }
fn get_next_space_id_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<SpaceId, Self::Error> { ... }
fn get_spaces(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_spaces_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_spaces_by_ids(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        space_ids: Vec<SpaceId>
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_spaces_by_ids_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        space_ids: Vec<SpaceId>
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_public_spaces(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_public_spaces_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_unlisted_spaces(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_unlisted_spaces_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        start_id: u64,
        limit: u64
    ) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_public_space_ids_by_owner(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        owner: AccountId
    ) -> Result<Vec<SpaceId>, Self::Error> { ... }
fn get_public_space_ids_by_owner_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        owner: AccountId
    ) -> Result<Vec<SpaceId>, Self::Error> { ... }
fn get_unlisted_space_ids_by_owner(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        owner: AccountId
    ) -> Result<Vec<SpaceId>, Self::Error> { ... }
fn get_unlisted_space_ids_by_owner_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        owner: AccountId
    ) -> Result<Vec<SpaceId>, Self::Error> { ... }
fn get_space_by_handle(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        handle: Vec<u8>
    ) -> Result<Option<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_space_by_handle_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        handle: Vec<u8>
    ) -> Result<Option<FlatSpace<AccountId, BlockNumber>>, Self::Error> { ... }
fn get_space_id_by_handle(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        handle: Vec<u8>
    ) -> Result<Option<SpaceId>, Self::Error> { ... }
fn get_space_id_by_handle_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        handle: Vec<u8>
    ) -> Result<Option<SpaceId>, Self::Error> { ... } }

Provided methods

fn get_next_space_id(
    &self,
    __runtime_api_at_param__: &BlockId<Block>
) -> Result<SpaceId, Self::Error>
[src]

fn get_next_space_id_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext
) -> Result<SpaceId, Self::Error>
[src]

fn get_spaces(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_spaces_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_spaces_by_ids(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    space_ids: Vec<SpaceId>
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_spaces_by_ids_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    space_ids: Vec<SpaceId>
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_public_spaces(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_public_spaces_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_unlisted_spaces(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_unlisted_spaces_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    start_id: u64,
    limit: u64
) -> Result<Vec<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_public_space_ids_by_owner(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    owner: AccountId
) -> Result<Vec<SpaceId>, Self::Error>
[src]

fn get_public_space_ids_by_owner_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    owner: AccountId
) -> Result<Vec<SpaceId>, Self::Error>
[src]

fn get_unlisted_space_ids_by_owner(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    owner: AccountId
) -> Result<Vec<SpaceId>, Self::Error>
[src]

fn get_unlisted_space_ids_by_owner_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    owner: AccountId
) -> Result<Vec<SpaceId>, Self::Error>
[src]

fn get_space_by_handle(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    handle: Vec<u8>
) -> Result<Option<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_space_by_handle_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    handle: Vec<u8>
) -> Result<Option<FlatSpace<AccountId, BlockNumber>>, Self::Error>
[src]

fn get_space_id_by_handle(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    handle: Vec<u8>
) -> Result<Option<SpaceId>, Self::Error>
[src]

fn get_space_id_by_handle_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    handle: Vec<u8>
) -> Result<Option<SpaceId>, Self::Error>
[src]

Loading content...

Trait Implementations

impl<Block: BlockT, AccountId, BlockNumber, __Sr_Api_Error__> RuntimeApiInfo for dyn SpacesApi<Block, AccountId, BlockNumber, Error = __Sr_Api_Error__>[src]

Implementors

Loading content...