pub fn from_update_area_dto_to_update_hydrology(
dto: UpdateAreaDto,
) -> Result<Vec<UpdateHydrology>, ServiceError>Expand description
Maps UpdateAreaDto to UpdateHydrologys.
Precondition is that the dto has area_kind == AreaKind::Hydrology.
ยงErrors
- Returns an error if the
dtohas a differentarea_kind.