Docs.rs
anchor-lang-0.22.0
anchor-lang 0.22.0
Docs.rs crate page
Apache-2.0
Links
Repository
Crates.io
Source
Owners
armaniferrante
acheroncrypto
Dependencies
anchor-attribute-access-control ^0.22.0
normal
anchor-attribute-account ^0.22.0
normal
anchor-attribute-constant ^0.22.0
normal
anchor-attribute-error ^0.22.0
normal
anchor-attribute-event ^0.22.0
normal
anchor-attribute-interface ^0.22.0
normal
anchor-attribute-program ^0.22.0
normal
anchor-attribute-state ^0.22.0
normal
anchor-derive-accounts ^0.22.0
normal
arrayref ^0.3.6
normal
base64 ^0.13.0
normal
bincode ^1.3.3
normal
borsh ^0.9
normal
bytemuck ^1.4.0
normal
solana-program ^1.8.5
normal
thiserror ^1.0.20
normal
Versions
66.46%
of the crate is documented
This release has been yanked, go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
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
☰
Key
Required Methods
key
Implementors
In anchor_lang
?
Trait
anchor_lang
::
Key
source
·
[
−
]
pub trait Key { fn
key
(&self) ->
Pubkey
; }
Expand description
Defines the Pubkey of an account.
Required methods
source
fn
key
(&self) ->
Pubkey
Implementors
source
impl<'info, T>
Key
for T
where
T:
AsRef
<
AccountInfo
<'info>>,