SubModel

The project is not completed

progress

usage

using all or none define sub model type

in the all or none

```rust ignore

[sub_model(all("foo"),none("foo2"))]

```

there a a set of information can be define

```rust ignore

[all(

name = "foo",
extra_field(
    foo(ty = "bool", from = "Default::default")

))] ```

the example add a new field named foo with type bool,create by Default::default to sub model foo

```rust ignore

[all(

name = "foo",
extra(
    derive(Debug, Serialize, Deserialize)

))] ```

the example make the sub model foo can serialize and deserialize