Docs.rs
anchor-lang-0.17.0
anchor-lang 0.17.0
Docs.rs crate page
Apache-2.0
Links
Repository
Crates.io
Source
Owners
armaniferrante
acheroncrypto
Dependencies
anchor-attribute-access-control ^0.17.0
normal
anchor-attribute-account ^0.17.0
normal
anchor-attribute-error ^0.17.0
normal
anchor-attribute-event ^0.17.0
normal
anchor-attribute-interface ^0.17.0
normal
anchor-attribute-program ^0.17.0
normal
anchor-attribute-state ^0.17.0
normal
anchor-derive-accounts ^0.17.0
normal
base64 ^0.13.0
normal
borsh ^0.9
normal
bytemuck ^1.4.0
normal
solana-program =1.7.11
normal
thiserror ^1.0.20
normal
Versions
67.95%
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
Key
for
Pubkey
source
impl<'info>
Key
for
AccountInfo
<'info>
source
impl<'info>
Key
for
Signer
<'info>
source
impl<'info>
Key
for
UncheckedAccount
<'info>
source
impl<'info, T:
Sysvar
>
Key
for
Sysvar
<'info, T>
source
impl<'info, T:
AccountDeserialize
+
Clone
>
Key
for
CpiAccount
<'info, T>
source
impl<'info, T:
AccountSerialize
+
AccountDeserialize
+
Clone
>
Key
for
CpiState
<'info, T>
source
impl<'info, T:
AccountSerialize
+
AccountDeserialize
+
Clone
>
Key
for
ProgramAccount
<'info, T>
source
impl<'info, T:
AccountSerialize
+
AccountDeserialize
+
Clone
>
Key
for
ProgramState
<'info, T>
source
impl<'info, T:
AccountSerialize
+
AccountDeserialize
+
Owner
+
Clone
>
Key
for
Account
<'info, T>
source
impl<'info, T:
ZeroCopy
>
Key
for
Loader
<'info, T>