#[repr(C)]pub struct CollectionAuthorityRecord {
pub key: Key,
pub bump: u8,
pub update_authority: Option<Pubkey>,
}
Fields§
§key: Key
§bump: u8
Implementations§
source§impl CollectionAuthorityRecord
impl CollectionAuthorityRecord
pub fn from_bytes(b: &[u8]) -> Result<CollectionAuthorityRecord, ProgramError>
Trait Implementations§
source§impl BorshDeserialize for CollectionAuthorityRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
impl BorshDeserialize for CollectionAuthorityRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
source§impl BorshSerialize for CollectionAuthorityRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
Option<Pubkey>: BorshSerialize,
impl BorshSerialize for CollectionAuthorityRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
Option<Pubkey>: BorshSerialize,
source§impl Clone for CollectionAuthorityRecord
impl Clone for CollectionAuthorityRecord
source§fn clone(&self) -> CollectionAuthorityRecord
fn clone(&self) -> CollectionAuthorityRecord
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 more