Struct mpl_token_metadata::state::UseAuthorityRecord
source · [−]Fields
key: Key
allowed_uses: u64
bump: u8
Implementations
sourceimpl UseAuthorityRecord
impl UseAuthorityRecord
pub fn from_bytes(b: &[u8]) -> Result<UseAuthorityRecord, ProgramError>
pub fn bump_empty(&self) -> bool
Trait Implementations
sourceimpl BorshDeserialize for UseAuthorityRecordwhere
Key: BorshDeserialize,
u64: BorshDeserialize,
u8: BorshDeserialize,
impl BorshDeserialize for UseAuthorityRecordwhere
Key: BorshDeserialize,
u64: BorshDeserialize,
u8: BorshDeserialize,
sourceimpl BorshSerialize for UseAuthorityRecordwhere
Key: BorshSerialize,
u64: BorshSerialize,
u8: BorshSerialize,
impl BorshSerialize for UseAuthorityRecordwhere
Key: BorshSerialize,
u64: BorshSerialize,
u8: BorshSerialize,
sourceimpl Clone for UseAuthorityRecord
impl Clone for UseAuthorityRecord
sourcefn clone(&self) -> UseAuthorityRecord
fn clone(&self) -> UseAuthorityRecord
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 UseAuthorityRecord
impl Debug for UseAuthorityRecord
sourceimpl Default for UseAuthorityRecord
impl Default for UseAuthorityRecord
sourceimpl PartialEq<UseAuthorityRecord> for UseAuthorityRecord
impl PartialEq<UseAuthorityRecord> for UseAuthorityRecord
sourcefn eq(&self, other: &UseAuthorityRecord) -> bool
fn eq(&self, other: &UseAuthorityRecord) -> bool
sourceimpl TokenMetadataAccount for UseAuthorityRecord
impl TokenMetadataAccount for UseAuthorityRecord
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 UseAuthorityRecord
impl StructuralEq for UseAuthorityRecord
impl StructuralPartialEq for UseAuthorityRecord
Auto Trait Implementations
impl RefUnwindSafe for UseAuthorityRecord
impl Send for UseAuthorityRecord
impl Sync for UseAuthorityRecord
impl Unpin for UseAuthorityRecord
impl UnwindSafe for UseAuthorityRecord
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