Struct fuel_gql_client::client::schema::PageInfo
source · pub struct PageInfo {
pub end_cursor: Option<String>,
pub has_next_page: bool,
pub has_previous_page: bool,
pub start_cursor: Option<String>,
}
Fields§
§end_cursor: Option<String>
§has_next_page: bool
§has_previous_page: bool
§start_cursor: Option<String>
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<'de> QueryFragment<'de> for PageInfo
impl<'de> QueryFragment<'de> for PageInfo
§type SchemaType = PageInfo
type SchemaType = PageInfo
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder