pub enum BuiltinFeatureTransition {
Add {
builtin: Builtin,
feature_id: Pubkey,
},
RemoveOrRetain {
previously_added_builtin: Builtin,
addition_feature_id: Pubkey,
removal_feature_id: Pubkey,
},
}
Expand description
State transition enum used for adding and removing builtin programs through feature activations.
Variants§
Add
Add a builtin program if a feature is activated.
RemoveOrRetain
Remove a builtin program if a feature is activated or retain a previously added builtin.
Implementations§
Trait Implementations§
source§impl Clone for BuiltinFeatureTransition
impl Clone for BuiltinFeatureTransition
source§fn clone(&self) -> BuiltinFeatureTransition
fn clone(&self) -> BuiltinFeatureTransition
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