Enum mpl_token_metadata::state::PayloadKey
source · #[repr(C)]pub enum PayloadKey {
Amount,
Authority,
AuthoritySeeds,
Delegate,
DelegateSeeds,
Destination,
DestinationSeeds,
Holder,
Source,
SourceSeeds,
}
Variants§
Amount
Authority
AuthoritySeeds
Delegate
DelegateSeeds
Destination
DestinationSeeds
Holder
Source
SourceSeeds
Trait Implementations§
source§impl BorshDeserialize for PayloadKey
impl BorshDeserialize for PayloadKey
source§impl BorshSerialize for PayloadKey
impl BorshSerialize for PayloadKey
source§impl Clone for PayloadKey
impl Clone for PayloadKey
source§fn clone(&self) -> PayloadKey
fn clone(&self) -> PayloadKey
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 PayloadKey
impl Debug for PayloadKey
source§impl PartialEq<PayloadKey> for PayloadKey
impl PartialEq<PayloadKey> for PayloadKey
source§fn eq(&self, other: &PayloadKey) -> bool
fn eq(&self, other: &PayloadKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for PayloadKey
impl ToString for PayloadKey
impl Eq for PayloadKey
impl StructuralEq for PayloadKey
impl StructuralPartialEq for PayloadKey
Auto Trait Implementations§
impl RefUnwindSafe for PayloadKey
impl Send for PayloadKey
impl Sync for PayloadKey
impl Unpin for PayloadKey
impl UnwindSafe for PayloadKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more