mpl_core/generated/types/
plugin_type.rs

1//! This code was AUTOGENERATED using the kinobi library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun kinobi to update it.
4//!
5//! [https://github.com/metaplex-foundation/kinobi]
6//!
7
8#[cfg(feature = "anchor")]
9use anchor_lang::prelude::{AnchorDeserialize, AnchorSerialize};
10#[cfg(not(feature = "anchor"))]
11use borsh::{BorshDeserialize, BorshSerialize};
12use num_derive::FromPrimitive;
13
14#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
15#[cfg_attr(not(feature = "anchor"), derive(BorshSerialize, BorshDeserialize))]
16#[cfg_attr(feature = "anchor", derive(AnchorSerialize, AnchorDeserialize))]
17#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Hash, FromPrimitive)]
18pub enum PluginType {
19    Royalties,
20    FreezeDelegate,
21    BurnDelegate,
22    TransferDelegate,
23    UpdateDelegate,
24    PermanentFreezeDelegate,
25    Attributes,
26    PermanentTransferDelegate,
27    PermanentBurnDelegate,
28    Edition,
29    MasterEdition,
30    AddBlocker,
31    ImmutableMetadata,
32    VerifiedCreators,
33    Autograph,
34    BubblegumV2,
35    FreezeExecute,
36    PermanentFreezeExecute,
37}