From d9374240857b256f66e9d3f84e1bf4747761ed1f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 24 Jul 2026 14:56:52 +0100 Subject: Replace OuterStruct with StructWithStruct --- examples/10-transient-0/output/rust/src/gen/data.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'examples/10-transient-0/output/rust/src/gen/data.rs') 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::, + pub b: ::std::vec::Vec::, } #[derive(Debug, PartialEq)] pub struct StructWithOption { pub a: ::std::option::Option::<::core::primitive::i64>, - pub b: ::std::option::Option::, + pub b: ::std::option::Option::, } #[derive(Debug, PartialEq)] -- cgit v1.2.3