Derive Macro HasBorshSchema

Source
#[derive(HasBorshSchema)]
Expand description

Derive macro fro the HasBorshSchema trait.

HasBorshSchema is required to implement Component, and returns the borsh schema for the Rust type that can be used for the component specification.