pub trait HasBorshSchema {
// Required method
fn borsh_schema() -> BorshSchema;
}
Required Methods§
fn borsh_schema() -> BorshSchema
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.