/// Test ensuring derivation works for types with type parameters.
use concordium_std::*;
#[derive(SchemaType)]
struct MyStruct {
field: A,
other_field: u8,
}
#[derive(SchemaType)]
struct MyOtherStruct {
field: A,
other_field: B,
}
#[derive(SchemaType)]
enum MyEnum {
One(u32),
Two(A),
}
#[derive(SchemaType)]
enum MyOtherEnum {
One(u32),
Two(A, B),
}
fn main() {
let _type = as schema::SchemaType>::get_type();
let _type = as schema::SchemaType>::get_type();
let _type = as schema::SchemaType>::get_type();
let _type = as schema::SchemaType>::get_type();
}