* data need to be transfered as a csv-file attachment via email
* each row takes a semicolon separeted list of string fields
* this structure is defined as rust 'struct CSVExport'
* the struct CSVExport will reference to its child stuctures.
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* policylist_view: GUI the user will interact with (orbtk Widget)
will act on policy lists, that combines the policy data elements.
* policydata_state: rust code with helper methods
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* policydata_view: GUI the user will interact with (orbtk Widget)
will act on policy element lists, that itself will combine
policy data (e.g. a vector of policy_code elements, metadata elements)
* policydata_state: rust code with helper methods
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* policycheck_view: user GUI to interact with (orbtk Widget)
* policycheck_state: rust code with helper methods
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* structure 'PolicyCheck': used in policycheck_view
The widget offering users to test for validity of a given 'policy_code'.
* structure 'PolicyList': used in policylist_view
imported lists of policy data collections
* structure 'PolicyData': used in policydata_view
PolicyData is a structure of 'PolicyElemnts'.
The latter will store the basic datatype elements (field: 'policy_code'),
as a dynamic growable vector.
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* serde: included to support Serialization/Deserialization
* chrono: included make use of a ISO 8601 complient time library
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
* helper function to test validity of given policynumber
- use a hashmap as a reference store with valid policynumbers
- check the given policynumber against the reference
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>