Struct fuel_core_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.
Auto Trait Implementations§
impl<T, C> RefUnwindSafe for PaginatedResult<T, C>where C: RefUnwindSafe, T: RefUnwindSafe,
impl<T, C> Send for PaginatedResult<T, C>where C: Send, T: Send,
impl<T, C> Sync for PaginatedResult<T, C>where C: Sync, T: Sync,
impl<T, C> Unpin for PaginatedResult<T, C>where C: Unpin, T: Unpin,
impl<T, C> UnwindSafe for PaginatedResult<T, C>where C: UnwindSafe, T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more