#[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 moresource§impl Debug for CollectionAuthorityRecord
impl Debug for CollectionAuthorityRecord
source§impl Default for CollectionAuthorityRecord
impl Default for CollectionAuthorityRecord
source§impl PartialEq<CollectionAuthorityRecord> for CollectionAuthorityRecord
impl PartialEq<CollectionAuthorityRecord> for CollectionAuthorityRecord
source§fn eq(&self, other: &CollectionAuthorityRecord) -> bool
fn eq(&self, other: &CollectionAuthorityRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.