pub trait AccountMetaProvider {
// Required methods
fn account_name() -> &'static str;
fn account_kind() -> &'static str;
}Expand description
Trait for types that provide static metadata about themselves.
Implementors expose their account name and kind for schema generation
and introspection. Typically derived or manually implemented alongside
HopperAccounts.
Required Methods§
Sourcefn account_name() -> &'static str
fn account_name() -> &'static str
Human-readable account name (e.g. “vault”, “authority”).
Sourcefn account_kind() -> &'static str
fn account_kind() -> &'static str
Account kind identifier (e.g. “HopperAccount”, “Signer”, “ProgramRef”).
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.