pub enum EntryType {
Cash {
min_deposit: u64,
max_deposit: u64,
},
Ticket {
slot_id: u8,
amount: u64,
},
Gating {
collection: String,
},
}Variants§
Cash
A player can join the game by sending assets to game account directly
Ticket
A player can join the game by pay a ticket.
Gating
A player can join the game by showing a gate NFT
Trait Implementations§
source§impl BorshDeserialize for EntryTypewhere
u64: BorshDeserialize,
u8: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for EntryTypewhere u64: BorshDeserialize, u8: BorshDeserialize, String: BorshDeserialize,
source§impl BorshSerialize for EntryTypewhere
u64: BorshSerialize,
u8: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for EntryTypewhere u64: BorshSerialize, u8: BorshSerialize, String: BorshSerialize,
source§impl PartialEq for EntryType
impl PartialEq for EntryType
impl Eq for EntryType
impl StructuralEq for EntryType
impl StructuralPartialEq for EntryType
Auto Trait Implementations§
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnwindSafe for EntryType
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