summaryrefslogtreecommitdiff
path: root/examples/10-transient-0/output/rust/src/gen/data.rs
diff options
context:
space:
mode:
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.rs14
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)]