Fields
key: Key
bump: u8
Implementations
sourceimpl CollectionAuthorityRecord
impl CollectionAuthorityRecord
pub fn from_bytes(b: &[u8]) -> Result<CollectionAuthorityRecord, ProgramError>
Trait Implementations
sourceimpl BorshDeserialize for CollectionAuthorityRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
impl BorshDeserialize for CollectionAuthorityRecordwhere
Key: BorshDeserialize,
u8: BorshDeserialize,
sourceimpl BorshSerialize for CollectionAuthorityRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
impl BorshSerialize for CollectionAuthorityRecordwhere
Key: BorshSerialize,
u8: BorshSerialize,
sourceimpl Clone for CollectionAuthorityRecord
impl Clone for CollectionAuthorityRecord
sourcefn clone(&self) -> CollectionAuthorityRecord
fn clone(&self) -> CollectionAuthorityRecord
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CollectionAuthorityRecord
impl Debug for CollectionAuthorityRecord
sourceimpl Default for CollectionAuthorityRecord
impl Default for CollectionAuthorityRecord
sourceimpl PartialEq<CollectionAuthorityRecord> for CollectionAuthorityRecord
impl PartialEq<CollectionAuthorityRecord> for CollectionAuthorityRecord
sourcefn eq(&self, other: &CollectionAuthorityRecord) -> bool
fn eq(&self, other: &CollectionAuthorityRecord) -> bool
sourceimpl TokenMetadataAccount for CollectionAuthorityRecord
impl TokenMetadataAccount for CollectionAuthorityRecord
fn key() -> Key
fn size() -> usize
fn is_correct_account_type(data: &[u8], data_type: Key, data_size: usize) -> bool
fn pad_length(buf: &mut Vec<u8>) -> Result<(), MetadataError>
fn safe_deserialize(data: &[u8]) -> Result<Self, BorshError>
fn from_account_info(a: &AccountInfo<'_>) -> Result<Self, ProgramError>
impl Eq for CollectionAuthorityRecord
impl StructuralEq for CollectionAuthorityRecord
impl StructuralPartialEq for CollectionAuthorityRecord
Auto Trait Implementations
impl RefUnwindSafe for CollectionAuthorityRecord
impl Send for CollectionAuthorityRecord
impl Sync for CollectionAuthorityRecord
impl Unpin for CollectionAuthorityRecord
impl UnwindSafe for CollectionAuthorityRecord
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more