Docs.rs
  • sugar-cli-1.2.2
    • sugar-cli 1.2.2
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • svc01-metaplex
    • github:metaplex-foundation:sugar
    • Dependencies
      • anchor-client ^0.25.0 normal
      • anchor-lang ^0.25.0 normal
      • anchor-spl ^0.25.0 normal
      • anyhow ^1.0.58 normal
      • async-trait ^0.1.57 normal
      • borsh ^0.9.3 normal
      • bs58 ^0.4.0 normal
      • bundlr-sdk ^0.3.0 normal
      • chrono ^0.4.22 normal
      • clap ^3.2.8 normal
      • console ^0.15.0 normal
      • ctrlc ^3.2.2 normal
      • data-encoding ^2.3.2 normal
      • dateparser ^0.1.6 normal
      • dialoguer ^0.10.1 normal
      • dirs ^4.0.0 normal
      • futures ^0.3.21 normal
      • glob ^0.3.0 normal
      • indexmap ^1.9.1 normal
      • indicatif ^0.16.2 normal
      • ini ^1.3.0 normal
      • lazy_static ^1.4.0 normal
      • mpl-candy-machine ^4.5 normal
      • mpl-token-metadata ^1.5 normal
      • num_cpus ^1.13.1 normal
      • phf ^0.10 normal
      • rand ^0.8.5 normal
      • rayon ^1.5.3 normal
      • regex ^1.5.6 normal
      • reqwest ^0.11.11 normal
      • retry ^1.3.0 normal
      • ring ^0.16.20 normal
      • rust-s3 ^0.31.0 normal
      • serde ^1.0.138 normal
      • serde_json ^1.0.82 normal
      • serde_yaml ^0.8.24 normal
      • sha2 ^0.10.2 normal
      • shellexpand ^2.1.0 normal
      • solana-account-decoder ^1.10 normal
      • solana-client ^1.10 normal
      • solana-logger ^1.10 normal
      • solana-program ^1.10 normal
      • solana-transaction-crawler ^0.0.6 normal
      • solana-transaction-status ^1.10 normal
      • spl-associated-token-account ^1.0.3 normal
      • spl-token ^3.3.0 normal
      • thiserror ^1.0.31 normal
      • tokio ^1.14.0 normal
      • tracing ^0.1.35 normal
      • tracing-bunyan-formatter ^0.3.3 normal
      • tracing-subscriber ^0.3.14 normal
      • url ^2.2.2 normal
      • cargo-husky ^1 dev
    • Versions
    • 23.56% 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

logo

SysvarId

Required Methods

  • check_id
  • id

Implementors

In sugar_cli::common::sysvar

?
Change settings

Trait sugar_cli::common::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 Fees

source§

impl SysvarId for Instructions

source§

impl SysvarId for RecentBlockhashes

source§

impl SysvarId for Rent

source§

impl SysvarId for Rewards

source§

impl SysvarId for SlotHashes

source§

impl SysvarId for SlotHistory

source§

impl SysvarId for StakeHistory