Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8046

the trait bound `solana_sdk::pubkey::Pubkey: BorshDeserialize` is not satisfied the following other types implement trait `BorshDeserialize`:

$
0
0

Error:the trait bound `solana_sdk::pubkey::Pubkey: BorshDeserialize` is not satisfied the following other types implement trait `BorshDeserialize`:

Pubkey code:

#[repr(transparent)]#[cfg_attr(feature = "frozen-abi", derive(AbiExample))]#[cfg_attr(    feature = "borsh",    derive(BorshSerialize, BorshDeserialize, BorshSchema),    borsh(crate = "borsh"))]#[derive(    Clone,    Copy,    Default,    Deserialize,    Eq,    Hash,    Ord,    PartialEq,    PartialOrd,    Pod,    Serialize,    Zeroable,)]#[cfg_attr(test, derive(Arbitrary))]pub struct Pubkey(pub(crate) [u8; 32]);```

Viewing all articles
Browse latest Browse all 8046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>