Struct mpl_token_metadata::state::MetadataDelegateRecord
source · #[repr(C)]pub struct MetadataDelegateRecord {
pub key: Key,
pub bump: u8,
pub mint: Pubkey,
pub delegate: Pubkey,
pub update_authority: Pubkey,
}
Expand description
SEEDS = [ “metadata”, program id, mint id, delegate role, update authority id, delegate id ]
Fields§
§key: Key
§bump: u8
§mint: Pubkey
§delegate: Pubkey
Implementations§
source§impl MetadataDelegateRecord
impl MetadataDelegateRecord
pub fn from_bytes(data: &[u8]) -> Result<MetadataDelegateRecord, ProgramError>
Trait Implementations§
source§impl BorshDeserialize for MetadataDelegateRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for MetadataDelegateRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
Pubkey: BorshDeserialize,
source§impl BorshSerialize for MetadataDelegateRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for MetadataDelegateRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
Pubkey: BorshSerialize,
source§impl Clone for MetadataDelegateRecord
impl Clone for MetadataDelegateRecord
source§fn clone(&self) -> MetadataDelegateRecord
fn clone(&self) -> MetadataDelegateRecord
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MetadataDelegateRecord
impl Debug for MetadataDelegateRecord
source§impl Default for MetadataDelegateRecord
impl Default for MetadataDelegateRecord
source§impl PartialEq<MetadataDelegateRecord> for MetadataDelegateRecord
impl PartialEq<MetadataDelegateRecord> for MetadataDelegateRecord
source§fn eq(&self, other: &MetadataDelegateRecord) -> bool
fn eq(&self, other: &MetadataDelegateRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.