diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-24 20:17:40 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-24 20:17:40 +0100 |
| commit | 6b3ca8e95a46fbf6f4d9bc5b4214386dd221c69c (patch) | |
| tree | 74754e21f6d3d81209534b427b582d73bd8300d4 /examples/11-transient-0/output/rust/src/gen/data.rs | |
| parent | cfc081d9ae035f876f7f8e836ebf0811ec338c6b (diff) | |
Support Shared in java-transient-0
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.rs | 5 |
1 files changed, 5 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 0ea6c0f..df221bb 100644 --- a/examples/11-transient-0/output/rust/src/gen/data.rs +++ b/examples/11-transient-0/output/rust/src/gen/data.rs @@ -88,3 +88,8 @@ pub struct StructWithSum { pub inner: crate::data::SumWithVariants, pub b: ::core::primitive::i32, } + +#[derive(Debug, PartialEq)] +pub struct StructWithShared { + pub inner: ::std::sync::Arc::<crate::data::StructWithInt32>, +} |
