Struct fuel_core_client::client::pagination::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<T: Clone, C: Clone> Clone for PaginatedResult<T, C>
impl<T: Clone, C: Clone> Clone for PaginatedResult<T, C>
source§fn clone(&self) -> PaginatedResult<T, C>
fn clone(&self) -> PaginatedResult<T, C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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> Freeze for PaginatedResult<T, C>where
C: Freeze,
impl<T, C> RefUnwindSafe for PaginatedResult<T, C>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> Send for PaginatedResult<T, C>
impl<T, C> Sync for PaginatedResult<T, C>
impl<T, C> Unpin for PaginatedResult<T, C>
impl<T, C> UnwindSafe for PaginatedResult<T, C>where
C: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<T> AnyDebug for T
impl<T> AnyDebug for T
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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