summaryrefslogtreecommitdiff
path: root/examples/16-transient-0/output/rust/src/gen/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/16-transient-0/output/rust/src/gen/data.rs')
-rw-r--r--examples/16-transient-0/output/rust/src/gen/data.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/16-transient-0/output/rust/src/gen/data.rs b/examples/16-transient-0/output/rust/src/gen/data.rs
index 6f1d5b5..fe67736 100644
--- a/examples/16-transient-0/output/rust/src/gen/data.rs
+++ b/examples/16-transient-0/output/rust/src/gen/data.rs
@@ -40,6 +40,18 @@ pub struct StructWithStruct {
}
#[derive(Clone, Debug, Hash, PartialEq)]
+pub struct GenericStruct<A, B> {
+ pub a: A,
+ pub b: B,
+}
+
+#[derive(Clone, Debug, Hash, PartialEq)]
+pub struct StructWithGenericStruct {
+ pub a: crate::data::GenericStruct::<::core::primitive::i32, ::std::string::String>,
+ pub b: crate::data::GenericStruct::<::std::option::Option::<::std::string::String>, crate::data::GenericStruct::<::std::option::Option::<::std::string::String>, crate::data::GenericStruct::<::std::string::String, ::std::string::String>>>,
+}
+
+#[derive(Clone, Debug, Hash, PartialEq)]
pub struct StructWithList {
pub a: ::std::vec::Vec::<::core::primitive::i64>,
pub b: ::std::vec::Vec::<crate::data::StructWithInt32>,