Struct mpl_candy_machine::state::GatekeeperConfig
source · pub struct GatekeeperConfig {
pub gatekeeper_network: Pubkey,
pub expire_on_use: bool,
}Expand description
Configurations options for the gatekeeper.
Fields§
§gatekeeper_network: PubkeyThe network for the gateway token required
expire_on_use: boolWhether or not the token should expire after minting. The gatekeeper network must support this if true.
Trait Implementations§
source§impl BorshDeserialize for GatekeeperConfigwhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
impl BorshDeserialize for GatekeeperConfigwhere
Pubkey: BorshDeserialize,
bool: BorshDeserialize,
source§impl BorshSerialize for GatekeeperConfigwhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
impl BorshSerialize for GatekeeperConfigwhere
Pubkey: BorshSerialize,
bool: BorshSerialize,
source§impl Clone for GatekeeperConfig
impl Clone for GatekeeperConfig
source§fn clone(&self) -> GatekeeperConfig
fn clone(&self) -> GatekeeperConfig
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 more