Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/NexRX/restructed
Browse files Browse the repository at this point in the history
  • Loading branch information
NexRX committed Dec 21, 2023
2 parents c711bd8 + 7693457 commit a0969fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ A complete subset of fields of the original model wrapped in `Option<T>` with th

**Arguements:**
- `name` - The name of the struct the generate (**Required**, **Must be first** e.g. `MyStruct`)
- `omit` - A *list* of field names in the original structure to omit (**Required**, e.g. `fields(field1, field2, ...)`)
- `omit` - A *list* of field names in the original structure to omit (e.g. `fields(field1, field2, ...)`)
- `derive` - A *list* of derivables (in scope) to derive on the generated struct (e.g. `derive(Clone, Debug, thiserror::Error)`)
- `default_derives` - A *bool*, if `true` *(default)* then the a list of derives will be additionally derived. Otherwise, `false` to avoid this (e.g. `default_derives = false`)

Expand Down

0 comments on commit a0969fa

Please sign in to comment.