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