Struct lpl_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: u64Trait 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 ==.