pub struct PageInfo {
pub has_previous_page: Option<bool>,
pub has_next_page: Option<bool>,
pub start_cursor: Option<String>,
pub end_cursor: Option<String>,
}Fields§
§has_previous_page: Option<bool>Indicates if there are more results when paginating backward.
has_next_page: Option<bool>Indicates if there are more results when paginating forward.
start_cursor: Option<String>Cursor representing the first result in the paginated results.
end_cursor: Option<String>Cursor representing the last result in the paginated results.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageInfo
impl<'de> Deserialize<'de> for PageInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl GraphQLFields for PageInfo
impl GraphQLFields for PageInfo
Auto Trait Implementations§
impl Freeze for PageInfo
impl RefUnwindSafe for PageInfo
impl Send for PageInfo
impl Sync for PageInfo
impl Unpin for PageInfo
impl UnwindSafe for PageInfo
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