1 2 3 4 5 6 7 8 9 10 11 12 13 14
// SPDX-License-Identifier: MIT // Copyright (c) 2025 Egon Kastelijn // file: src/reverse_mapper.rs use sensorml::model::document::SensorMLDocument; /// Trait for mapping SensorML documents back into initiative-specific JSON. pub trait InitiativeReverseMapper { fn map_from_sensorml( &self, input: &SensorMLDocument, ) -> Result<serde_json::Value, crate::error::MappingError>; }