#[repr(C)]
pub enum MigrateArgs {
V1 {
migration_type: MigrationType,
rule_set: Option<Pubkey>,
},
}
Variants§
Trait Implementations§
source§impl BorshDeserialize for MigrateArgswhere
MigrationType: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
impl BorshDeserialize for MigrateArgswhere
MigrationType: BorshDeserialize,
Option<Pubkey>: BorshDeserialize,
source§impl BorshSerialize for MigrateArgswhere
MigrationType: BorshSerialize,
Option<Pubkey>: BorshSerialize,
impl BorshSerialize for MigrateArgswhere
MigrationType: BorshSerialize,
Option<Pubkey>: BorshSerialize,
source§impl Clone for MigrateArgs
impl Clone for MigrateArgs
source§fn clone(&self) -> MigrateArgs
fn clone(&self) -> MigrateArgs
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 moresource§impl Debug for MigrateArgs
impl Debug for MigrateArgs
source§impl PartialEq<MigrateArgs> for MigrateArgs
impl PartialEq<MigrateArgs> for MigrateArgs
source§fn eq(&self, other: &MigrateArgs) -> bool
fn eq(&self, other: &MigrateArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.