Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub struct RequiredDataFieldOptions {
- pub key: String,
- pub value: String,
- }
- enum RequiredDataType {
- string,
- enum,
- number
- }
- pub struct RequiredDataField {
- pub type: RequiredDataType,
- pub label: String,
- pub options: Option<Vec<RequiredDataFieldOptions>>
- }
- pub type RequiredData = HashMap<String, RequiredDataField>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement