mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 11:46:50 +00:00
feat: use DataFormReferenceType
This commit is contained in:
parent
a260a6d8e9
commit
1d43261ab6
@ -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>>,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user