Struct fuel_gql_client::client::schema::PaginatedResult
source · pub struct PaginatedResult<T, C> {
pub cursor: Option<C>,
pub results: Vec<T>,
pub has_next_page: bool,
pub has_previous_page: bool,
}
Fields§
§cursor: Option<C>
§results: Vec<T>
§has_next_page: bool
§has_previous_page: bool
Trait Implementations§
source§impl From<BalanceConnection> for PaginatedResult<Balance, String>
impl From<BalanceConnection> for PaginatedResult<Balance, String>
source§fn from(conn: BalanceConnection) -> Self
fn from(conn: BalanceConnection) -> Self
Converts to this type from the input type.
source§impl From<BlockConnection> for PaginatedResult<Block, String>
impl From<BlockConnection> for PaginatedResult<Block, String>
source§fn from(conn: BlockConnection) -> Self
fn from(conn: BlockConnection) -> Self
Converts to this type from the input type.
source§impl From<CoinConnection> for PaginatedResult<Coin, String>
impl From<CoinConnection> for PaginatedResult<Coin, String>
source§fn from(conn: CoinConnection) -> Self
fn from(conn: CoinConnection) -> Self
Converts to this type from the input type.
source§impl From<ContractBalanceConnection> for PaginatedResult<ContractBalance, String>
impl From<ContractBalanceConnection> for PaginatedResult<ContractBalance, String>
source§fn from(conn: ContractBalanceConnection) -> Self
fn from(conn: ContractBalanceConnection) -> Self
Converts to this type from the input type.
source§impl From<MessageConnection> for PaginatedResult<Message, String>
impl From<MessageConnection> for PaginatedResult<Message, String>
source§fn from(conn: MessageConnection) -> Self
fn from(conn: MessageConnection) -> Self
Converts to this type from the input type.
source§impl TryFrom<TransactionConnection> for PaginatedResult<TransactionResponse, String>
impl TryFrom<TransactionConnection> for PaginatedResult<TransactionResponse, String>
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.