* 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>
* using rustc >= v1.31.0 enables the edition the edition system
* parse the rust code to be complient with edition "2018"
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>