Docs.rs
solana-last-restart-slot-2.1.2
solana-last-restart-slot 2.1.2
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
anza-team
Dependencies
serde ^1.0.213
normal
optional
serde_derive ^1.0.213
normal
optional
solana-sdk-macro =2.1.2
normal
solana-sysvar-id =2.1.2
normal
optional
Versions
71.43%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
solana_
last_
restart_
slot
2.1.2
In solana_
last_
restart_
slot::
sysvar
solana_last_restart_slot
::
sysvar
Function
check_id
Copy item path
Source
pub fn check_id(id: &
Pubkey
) ->
bool
Available on
crate feature
sysvar
only.
Expand description
Returns
true
if given pubkey is the program ID.