Type Alias backend::model::dto::PageMapDto
source · pub type PageMapDto = Page<MapDto>;
Aliased Type§
struct PageMapDto {
pub results: Vec<MapDto, Global>,
pub page: i32,
pub per_page: i32,
pub total_pages: i32,
}
Fields§
§results: Vec<MapDto, 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