summaryrefslogtreecommitdiff
path: root/examples/15-transient-0/output/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/15-transient-0/output/rust/src')
-rw-r--r--examples/15-transient-0/output/rust/src/gen/data.rs1
-rw-r--r--examples/15-transient-0/output/rust/src/gen/data/transient_0.rs4
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/15-transient-0/output/rust/src/gen/data.rs b/examples/15-transient-0/output/rust/src/gen/data.rs
index 856d60f..6f1d5b5 100644
--- a/examples/15-transient-0/output/rust/src/gen/data.rs
+++ b/examples/15-transient-0/output/rust/src/gen/data.rs
@@ -124,6 +124,7 @@ pub struct StructWithNative {
#[derive(Clone, Debug, Hash, PartialEq)]
pub struct StructWithGenericNative {
pub a: crate::data::GenericNative::<::core::primitive::i32, ::std::string::String>,
+ pub b: crate::data::GenericNative::<::std::option::Option::<::std::string::String>, crate::data::GenericNative::<::std::option::Option::<::std::string::String>, crate::data::GenericNative::<::std::string::String, ::std::string::String>>>,
}
#[derive(Clone, Debug, Hash, PartialEq)]
diff --git a/examples/15-transient-0/output/rust/src/gen/data/transient_0.rs b/examples/15-transient-0/output/rust/src/gen/data/transient_0.rs
index c497b57..383a564 100644
--- a/examples/15-transient-0/output/rust/src/gen/data/transient_0.rs
+++ b/examples/15-transient-0/output/rust/src/gen/data/transient_0.rs
@@ -276,12 +276,14 @@ pub fn decode_struct_with_native(reader: &mut impl std::io::Read, shared_values:
pub fn encode_struct_with_generic_native(value: &crate::data::StructWithGenericNative, writer: &mut impl std::io::Write, shared_values: &mut ::std::collections::HashMap::<::core::primitive::usize, ::core::primitive::i64>) -> ::std::io::Result::<()> {
todo!();
+ todo!();
::std::io::Result::Ok(())
}
pub fn decode_struct_with_generic_native(reader: &mut impl std::io::Read, shared_values: &mut ::std::vec::Vec::<::std::sync::Arc::<dyn ::std::any::Any + ::std::marker::Sync + ::std::marker::Send>>) -> ::std::io::Result::<crate::data::StructWithGenericNative> {
let a = todo!();
- ::std::io::Result::Ok(crate::data::StructWithGenericNative { a: a })
+ let b = todo!();
+ ::std::io::Result::Ok(crate::data::StructWithGenericNative { a: a, b: b })
}
pub fn encode_struct_with_box(value: &crate::data::StructWithBox, writer: &mut impl std::io::Write, shared_values: &mut ::std::collections::HashMap::<::core::primitive::usize, ::core::primitive::i64>) -> ::std::io::Result::<()> {