csdif-core 0.1.2

Core library for modeling, validating, and transforming CSDIF data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT

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>;
}