Docs.rs
anchor-lang-0.24.2
anchor-lang 0.24.2
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
armaniferrante
solana-foundation-tech
Dependencies
anchor-attribute-access-control ^0.24.2
normal
anchor-attribute-account ^0.24.2
normal
anchor-attribute-constant ^0.24.2
normal
anchor-attribute-error ^0.24.2
normal
anchor-attribute-event ^0.24.2
normal
anchor-attribute-interface ^0.24.2
normal
anchor-attribute-program ^0.24.2
normal
anchor-attribute-state ^0.24.2
normal
anchor-derive-accounts ^0.24.2
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.9.13
normal
thiserror ^1.0.20
normal
Versions
49%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
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
☰
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
Key
for
Pubkey
source
impl<'info>
Key
for
Signer
<'info>
source
impl<'info>
Key
for
SystemAccount
<'info>
source
impl<'info>
Key
for
UncheckedAccount
<'info>
source
impl<'info>
Key
for
AccountInfo
<'info>
source
impl<'info, T:
Sysvar
>
Key
for
Sysvar
<'info, T>
source
impl<'info, T:
AccountDeserialize
+
Id
+
Clone
>
Key
for
Program
<'info, T>
source
impl<'info, T:
AccountSerialize
+
AccountDeserialize
+
Owner
+
Clone
>
Key
for
Account
<'info, T>
source
impl<'info, T:
ZeroCopy
+
Owner
>
Key
for
AccountLoader
<'info, T>