Struct mpl_token_metadata::state::Collection
source · #[repr(C)]pub struct Collection {
pub verified: bool,
pub key: Pubkey,
}
Fields§
§verified: bool
§key: Pubkey
Trait Implementations§
source§impl BorshDeserialize for Collectionwhere
bool: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for Collectionwhere bool: BorshDeserialize, Pubkey: BorshDeserialize,
source§impl BorshSerialize for Collectionwhere
bool: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for Collectionwhere bool: BorshSerialize, Pubkey: BorshSerialize,
source§impl Clone for Collection
impl Clone for Collection
source§fn clone(&self) -> Collection
fn clone(&self) -> Collection
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 Collection
impl Debug for Collection
source§impl PartialEq<Collection> for Collection
impl PartialEq<Collection> for Collection
source§fn eq(&self, other: &Collection) -> bool
fn eq(&self, other: &Collection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Collection
impl StructuralEq for Collection
impl StructuralPartialEq for Collection
Auto Trait Implementations§
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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