When using a struct that was not defined on my tauri app but on an external crates as a parameter for my procedure. I got this error !
the trait bound Toto: Type is not satisfied
I guess it is because the external crate doesn't implement specta Type trait.
How can i make the external struct implement the trait Type ?
I saw some solutions where we can redefine a struct and use it as a type for an attribute in our wrapper specta-rs/specta#284.
But in my case I don't want to define an attribute, but use directly the struct as is. Like below. Is it possible ?
use another_crate::Profile
#[taurpc::ipc_type]
struct MyProfile(Profile);
When using a struct that was not defined on my tauri app but on an external crates as a parameter for my procedure. I got this error !
the trait boundToto: Typeis not satisfiedI guess it is because the external crate doesn't implement specta
Typetrait.How can i make the external struct implement the trait
Type?I saw some solutions where we can redefine a struct and use it as a type for an attribute in our wrapper specta-rs/specta#284.
But in my case I don't want to define an attribute, but use directly the struct as is. Like below. Is it possible ?