1
2
3
4
5
6
7
8
9
10
11
12
//! Contains the implementation of [`UpdateMapGeometryDto`].

use crate::model::dto::UpdateMapGeometryDto;
use crate::model::entity::UpdateMapGeometry;

impl From<UpdateMapGeometryDto> for UpdateMapGeometry {
    fn from(map_update_geometry: UpdateMapGeometryDto) -> Self {
        Self {
            geometry: map_update_geometry.geometry,
        }
    }
}