Trait solana_sdk::sysvar::SysvarId
source · pub trait SysvarId {
fn id() -> Pubkey;
fn check_id(pubkey: &Pubkey) -> bool;
}
Expand description
A type that holds sysvar data and has an associated sysvar Pubkey
.
pub trait SysvarId {
fn id() -> Pubkey;
fn check_id(pubkey: &Pubkey) -> bool;
}
A type that holds sysvar data and has an associated sysvar Pubkey
.