pub struct EnableResult {
pub frameworks: Vec<FrameworkEnablement>,
pub failures: Vec<FrameworkFailure>,
pub db_path: Option<PathBuf>,
pub should_init_db: bool,
}Expand description
Result of the enable process.
Fields§
§frameworks: Vec<FrameworkEnablement>Frameworks that were enabled.
failures: Vec<FrameworkFailure>Frameworks that failed to enable.
db_path: Option<PathBuf>Path to the database (if database initialization was requested).
should_init_db: boolWhether the database should be initialized.
Trait Implementations§
Source§impl Clone for EnableResult
impl Clone for EnableResult
Source§fn clone(&self) -> EnableResult
fn clone(&self) -> EnableResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for EnableResult
impl RefUnwindSafe for EnableResult
impl Send for EnableResult
impl Sync for EnableResult
impl Unpin for EnableResult
impl UnwindSafe for EnableResult
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