Type Alias backend::model::dto::PagePlantsSummaryDto
source · pub type PagePlantsSummaryDto = Page<PlantsSummaryDto>;
Aliased Type§
struct PagePlantsSummaryDto {
pub results: Vec<PlantsSummaryDto, Global>,
pub page: i32,
pub per_page: i32,
pub total_pages: i32,
}
Fields§
§results: Vec<PlantsSummaryDto, Global>
Resulting records.
page: i32
Current page number.
per_page: i32
Results per page.
total_pages: i32
Number of pages in total.
Implementations§
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Page<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Page<T>where T: Deserialize<'de>,
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