mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-09-13 13:12:51 +00:00
feat: use DataFormReferenceType
This commit is contained in:
@@ -44,6 +44,9 @@ pub struct DataFormType;
|
||||
#[derive(Debug)]
|
||||
pub struct UnterformularType;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct DataFormReferenceType;
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct Form<Type> {
|
||||
|
@@ -18,7 +18,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
use crate::model::form::{DataFormType, Form};
|
||||
use crate::model::form::{DataFormReferenceType, Form};
|
||||
use crate::model::{Ansicht, Filter, FormEntry, Ordner, RefEntries, Script, Sortable};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
@@ -579,5 +579,5 @@ impl Sortable for Entry {
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct ReferencedDataForm {
|
||||
#[serde(rename = "ReferencedDataForm", default)]
|
||||
program_module: Vec<Form<DataFormType>>,
|
||||
program_module: Vec<Form<DataFormReferenceType>>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user