pub struct Config {
pub path: String,
pub dry_run: bool,
pub verbose: bool,
pub restore: bool,
pub show_guide: bool,
pub oracle_only: bool,
}Expand description
Configuration options for the migration tool
Fields§
§path: StringPath to the Anchor project directory
dry_run: boolWhether to perform a dry run without making changes
verbose: boolWhether to enable verbose output
restore: boolWhether to restore from a backup
show_guide: boolWhether to show the APRO integration guide
oracle_only: boolWhether to only run oracle detection
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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