pub trait ComposableObject: GraphQLTypeAsync + Default{
// Required method
fn fields() -> &'static [&'static str];
}Expand description
Object types that you want to compose into one must implement this trait. Use composable_object to implement it.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".