diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-24 15:02:27 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-24 15:02:27 +0100 |
| commit | 0e9e0974e0c2a8906e484082dc4e6666faa8a2a7 (patch) | |
| tree | 1a53ccfdb420cd77f5ecfc78bfc04cfba4e4ebc0 /examples/10-transient-0/output/rust/src/gen/data.rs | |
| parent | 9308e832ba6043ce66485833fca9eb5f20657f35 (diff) | |
Add struct with sum to transient-0 tests
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 | 6 |
1 files changed, 6 insertions, 0 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 dd9af46..0ea6c0f 100644 --- a/examples/10-transient-0/output/rust/src/gen/data.rs +++ b/examples/10-transient-0/output/rust/src/gen/data.rs @@ -82,3 +82,9 @@ pub struct VariantOne { pub struct VariantTwo { pub a: ::core::primitive::i64, } + +#[derive(Debug, PartialEq)] +pub struct StructWithSum { + pub inner: crate::data::SumWithVariants, + pub b: ::core::primitive::i32, +} |
