Docs.rs
  • solana-program-1.8.13
    • solana-program 1.8.13
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • bincode ^1.3.1 normal
      • borsh ^0.9.0 normal
      • borsh-derive ^0.9.0 normal
      • bs58 ^0.3.1 normal
      • bv ^0.11.1 normal
      • bytemuck ^1.7.2 normal
      • hex ^0.4.2 normal
      • itertools ^0.9.0 normal
      • lazy_static ^1.4.0 normal
      • log ^0.4.8 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • rustversion ^1.0.3 normal
      • serde ^1.0.112 normal
      • serde_bytes ^0.11 normal
      • serde_derive ^1.0.103 normal
      • sha2 ^0.9.2 normal
      • sha3 ^0.9.1 normal
      • solana-frozen-abi =1.8.13 normal
      • solana-frozen-abi-macro =1.8.13 normal
      • solana-sdk-macro =1.8.13 normal
      • thiserror ^1.0 normal
      • assert_matches ^1.3.0 dev
      • bincode ^1.3.1 dev
      • serde_json ^1.0.56 dev
      • static_assertions ^1.1.0 dev
      • rustc_version ^0.2 build
      • base64 ^0.13 normal
      • blake3 ^0.3.7 normal
      • curve25519-dalek ^2.1.0 normal
      • itertools ^0.9.0 normal
      • libsecp256k1 ^0.5.0 normal
      • rand ^0.7.0 normal
      • solana-logger =1.8.13 normal
    • Versions
    • 49.44% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Trait SysvarId

Required Methods

check_idid

Implementors

Other items in
solana_program::sysvar

logo
Change settings

Trait solana_program::sysvar::SysvarId

source · [−]
pub trait SysvarId {
    fn id() -> Pubkey;
fn check_id(pubkey: &Pubkey) -> bool; }

Required methods

source

fn id() -> Pubkey

source

fn check_id(pubkey: &Pubkey) -> bool

Implementors

source

impl SysvarId for Clock

source

impl SysvarId for EpochSchedule

source

impl SysvarId for Rent

source

impl SysvarId for SlotHashes

source

impl SysvarId for SlotHistory

source

impl SysvarId for StakeHistory

source

impl SysvarId for Fees

source

impl SysvarId for Instructions

source

impl SysvarId for RecentBlockhashes

source

impl SysvarId for Rewards