summaryrefslogtreecommitdiff
path: root/examples/11-transient-0/output/rust/src/gen/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/11-transient-0/output/rust/src/gen/data.rs')
-rw-r--r--examples/11-transient-0/output/rust/src/gen/data.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/11-transient-0/output/rust/src/gen/data.rs b/examples/11-transient-0/output/rust/src/gen/data.rs
index d31f341..6703918 100644
--- a/examples/11-transient-0/output/rust/src/gen/data.rs
+++ b/examples/11-transient-0/output/rust/src/gen/data.rs
@@ -93,3 +93,10 @@ pub struct StructWithSum {
pub struct StructWithListOfShared {
pub inner: ::std::vec::Vec::<::std::sync::Arc::<crate::data::StructWithInt32>>,
}
+
+#[derive(Debug, PartialEq)]
+pub struct StructWithDifferentSharedTypes {
+ pub a: ::std::sync::Arc::<crate::data::StructWithInt32>,
+ pub b: ::std::sync::Arc::<crate::data::StructWithInt64>,
+ pub c: ::std::sync::Arc::<crate::data::StructWithInt32>,
+}