pub trait MessagesApiClient: ClientT {
// Provided method
fn get_messages_by_schema_id<'life0, 'async_trait>(
&'life0 self,
schema_id: SchemaId,
pagination: BlockPaginationRequest
) -> Pin<Box<dyn Future<Output = Result<BlockPaginationResponse<MessageResponse>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the MessagesApi
RPC API.
Provided Methods§
sourcefn get_messages_by_schema_id<'life0, 'async_trait>(
&'life0 self,
schema_id: SchemaId,
pagination: BlockPaginationRequest
) -> Pin<Box<dyn Future<Output = Result<BlockPaginationResponse<MessageResponse>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_messages_by_schema_id<'life0, 'async_trait>(
&'life0 self,
schema_id: SchemaId,
pagination: BlockPaginationRequest
) -> Pin<Box<dyn Future<Output = Result<BlockPaginationResponse<MessageResponse>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Retrieve paginated messages by schema id
Object Safety§
This trait is not object safe.