diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-24 14:56:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-24 14:56:52 +0100 |
| commit | d9374240857b256f66e9d3f84e1bf4747761ed1f (patch) | |
| tree | 6d09858d0a1b47800e4fb7020ac92247218577dc /examples/10-transient-0/output/rust/src/gen/data.rs | |
| parent | 726791a4d40ffdf940c5882e2700e60dff594de3 (diff) | |
Replace OuterStruct with StructWithStruct
Diffstat (limited to 'examples/10-transient-0/output/rust/src/gen/data.rs')
| -rw-r--r-- | examples/10-transient-0/output/rust/src/gen/data.rs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/examples/10-transient-0/output/rust/src/gen/data.rs b/examples/10-transient-0/output/rust/src/gen/data.rs index 814e4ca..ccabce6 100644 --- a/examples/10-transient-0/output/rust/src/gen/data.rs +++ b/examples/10-transient-0/output/rust/src/gen/data.rs @@ -25,27 +25,21 @@ pub struct StructWithString { } #[derive(Debug, PartialEq)] -pub struct OuterStruct { - pub inner: crate::data::InnerStruct, +pub struct StructWithStruct { + pub inner: crate::data::StructWithInt32, pub c: ::core::primitive::i32, } #[derive(Debug, PartialEq)] -pub struct InnerStruct { - pub a: ::core::primitive::i32, - pub b: ::core::primitive::i32, -} - -#[derive(Debug, PartialEq)] pub struct StructWithList { pub a: ::std::vec::Vec::<::core::primitive::i64>, - pub b: ::std::vec::Vec::<crate::data::InnerStruct>, + pub b: ::std::vec::Vec::<crate::data::StructWithInt32>, } #[derive(Debug, PartialEq)] pub struct StructWithOption { pub a: ::std::option::Option::<::core::primitive::i64>, - pub b: ::std::option::Option::<crate::data::InnerStruct>, + pub b: ::std::option::Option::<crate::data::StructWithInt32>, } #[derive(Debug, PartialEq)] |
