#[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 ==
.impl Eq for MigrateArgs
impl StructuralEq for MigrateArgs
impl StructuralPartialEq for MigrateArgs
Auto Trait Implementations§
impl RefUnwindSafe for MigrateArgs
impl Send for MigrateArgs
impl Sync for MigrateArgs
impl Unpin for MigrateArgs
impl UnwindSafe for MigrateArgs
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