use crate::reference::Reference;
use crate::DataSpecificationContent;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct EmbeddedDataSpecification {
pub data_specification: Reference,
pub data_specification_content: DataSpecificationContent,
}
impl EmbeddedDataSpecification {
pub fn new(
data_specification: Reference,
data_specification_content: DataSpecificationContent,
) -> Self {
Self {
data_specification,
data_specification_content,
}
}
}