Fields
key: Key
bump: u8
Implementations
sourceimpl CollectionAuthorityRecord
impl CollectionAuthorityRecord
pub fn from_bytes(b: &[u8]) -> Result<CollectionAuthorityRecord, ProgramError>
Trait Implementations
sourceimpl BorshDeserialize for CollectionAuthorityRecord where
Key: BorshDeserialize,
u8: BorshDeserialize,
impl BorshDeserialize for CollectionAuthorityRecord where
Key: BorshDeserialize,
u8: BorshDeserialize,
sourceimpl BorshSerialize for CollectionAuthorityRecord where
Key: BorshSerialize,
u8: BorshSerialize,
impl BorshSerialize for CollectionAuthorityRecord where
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TokenMetadataAccount for CollectionAuthorityRecord
impl TokenMetadataAccount for CollectionAuthorityRecord
fn key() -> Key
fn size() -> usize
fn pad_length(buf: &mut Vec<u8>) -> Result<(), MetadataError>
fn safe_deserialize<T: BorshDeserialize>(data: &[u8]) -> Result<T, BorshError>
fn from_account_info<T: BorshDeserialize>(
a: &AccountInfo<'_>
) -> Result<T, 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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