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 EntryType
impl BorshDeserialize for EntryType
Source§impl BorshSerialize for EntryType
impl BorshSerialize for EntryType
impl Eq for EntryType
impl StructuralPartialEq for EntryType
Auto Trait Implementations§
impl Freeze for EntryType
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